diff --git a/modules/misc/pam.nix b/modules/misc/pam.nix index 91b75f5b..6ace2bfd 100644 --- a/modules/misc/pam.nix +++ b/modules/misc/pam.nix @@ -30,7 +30,7 @@ in config = mkIf (vars != {}) { home.file.".pam_environment".text = concatStringsSep "\n" ( - mapAttrsToList (n: v: "${n} OVERRIDE=${toString v}") vars + mapAttrsToList (n: v: "${n} OVERRIDE=\"${toString v}\"") vars ) + "\n"; }; }