1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-13 10:13:39 +02:00

pam: enclose session variable values in quotes

This commit is contained in:
Olli Helenius 2019-03-05 18:53:48 +02:00 committed by Robert Helgesson
parent 465d08d99f
commit 848b8b983e
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89

View File

@ -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";
};
}