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:
parent
27c72f337b
commit
f5055e2ef6
6 changed files with 7 additions and 7 deletions
|
@ -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) ]))))}
|
||||
'';
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue