0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 13:40:28 +03:00

Rename environment.systemVariables -> environment.sessionVariables

This makes it clearer that they're part of PAM sessions.
This commit is contained in:
Eelco Dolstra 2014-06-13 17:56:46 +02:00
parent 27c72f337b
commit f5055e2ef6
6 changed files with 7 additions and 7 deletions

View file

@ -14,7 +14,7 @@ in
options = {
environment.systemVariables = mkOption {
environment.sessionVariables = mkOption {
default = {};
description = ''
A set of environment variables used in the global environment.
@ -48,7 +48,7 @@ in
''
${concatStringsSep "\n" (
(mapAttrsToList (n: v: ''${n}="${concatStringsSep ":" v}"'')
(zipAttrsWith (const concatLists) ([ (mapAttrs (n: v: [ v ]) cfg.systemVariables) ]))))}
(zipAttrsWith (const concatLists) ([ (mapAttrs (n: v: [ v ]) cfg.sessionVariables) ]))))}
'';
};