diff --git a/modules/system/boot/systemd.nix b/modules/system/boot/systemd.nix index f41e471cb1b..652f9763024 100644 --- a/modules/system/boot/systemd.nix +++ b/modules/system/boot/systemd.nix @@ -248,7 +248,7 @@ let [Service] Environment=PATH=${def.path} - ${concatMapStrings (n: "Environment=${n}=\"${getAttr n def.environment}\"\n") (attrNames def.environment)} + ${concatMapStrings (n: "Environment=${n}=${getAttr n def.environment}\n") (attrNames def.environment)} ${optionalString (def.preStart != "") '' ExecStartPre=${pkgs.writeScript "${name}-prestart.sh" ''