+55
-20
nixos/lib/systemd-lib.nix
+55
-20
nixos/lib/systemd-lib.nix
······-config.environment.PATH = mkIf (config.path != []) "${makeBinPath config.path}:${makeSearchPathOutput "bin" "sbin" config.path}";+environment.PATH = mkIf (config.path != []) "${makeBinPath config.path}:${makeSearchPathOutput "bin" "sbin" config.path}";···············-in if stringLength s >= 1048576 then throw "The value of the environment variable ‘${n}’ in systemd service ‘${name}.service’ is too long." else s) (attrNames env))+in if stringLength s >= 1048576 then throw "The value of the environment variable ‘${n}’ in systemd service ‘${def.name}.service’ is too long." else s) (attrNames env))······
+20
-12
nixos/lib/systemd-types.nix
+20
-12
nixos/lib/systemd-types.nix
······
+8
nixos/lib/systemd-unit-options.nix
+8
nixos/lib/systemd-unit-options.nix
···
+5
-3
nixos/lib/utils.nix
+5
-3
nixos/lib/utils.nix
···copyFile = filePath: pkgs.runCommand (builtins.unsafeDiscardStringContext (baseNameOf filePath)) {} ''···
+11
-12
nixos/modules/system/boot/systemd.nix
+11
-12
nixos/modules/system/boot/systemd.nix
···
+8
-8
nixos/modules/system/boot/systemd/initrd.nix
+8
-8
nixos/modules/system/boot/systemd/initrd.nix
···
+6
-6
nixos/modules/system/boot/systemd/user.nix
+6
-6
nixos/modules/system/boot/systemd/user.nix
···
+11
-2
nixos/tests/systemd.nix
+11
-2
nixos/tests/systemd.nix
······