mirror of
https://github.com/nix-community/home-manager
synced 2024-12-25 03:09:47 +01:00
pam: enclose session variable values in quotes
This commit is contained in:
parent
465d08d99f
commit
848b8b983e
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ in
|
||||||
config = mkIf (vars != {}) {
|
config = mkIf (vars != {}) {
|
||||||
home.file.".pam_environment".text =
|
home.file.".pam_environment".text =
|
||||||
concatStringsSep "\n" (
|
concatStringsSep "\n" (
|
||||||
mapAttrsToList (n: v: "${n} OVERRIDE=${toString v}") vars
|
mapAttrsToList (n: v: "${n} OVERRIDE=\"${toString v}\"") vars
|
||||||
) + "\n";
|
) + "\n";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue