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:57:04 +02:00
parent 27c72f337b
commit f5055e2ef6
6 changed files with 7 additions and 7 deletions
+2 -2
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) ]))))}
'';
};