From 35c069ea02b6a19263cd66c2885f4d8190a7c910 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Wed, 18 Jul 2018 22:04:26 +0200 Subject: nixos: systemd.globalEnvironment: fix type Follow up fix of fb2a8d66699c96d6a687eb71ebfcca08e3405037 https://github.com/NixOS/nixpkgs/pull/38356 https://github.com/NixOS/nixpkgs/pull/40416 --- nixos/modules/system/boot/systemd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules') diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 6593b1a02430..6f5b15372d75 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -515,7 +515,7 @@ in }; systemd.globalEnvironment = mkOption { - type = with types; attrsOf (nullOr (either str package)); + type = with types; attrsOf (nullOr (either str (either path package))); default = {}; example = { TZ = "CET"; }; description = '' -- cgit 1.4.1