pam: enclose session variable values in quotes
(cherry picked from commit 848b8b983e
)
This commit is contained in:
parent
3c2823e3cd
commit
fa19c18343
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue