mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-16 15:32:46 +01:00
home-environment: deprecate option home.sessionVariableSetter
This commit is contained in:
parent
d7755de116
commit
18159c85b9
2 changed files with 59 additions and 2 deletions
|
|
@ -159,8 +159,8 @@ in
|
|||
};
|
||||
|
||||
home.sessionVariableSetter = mkOption {
|
||||
default = "bash";
|
||||
type = types.enum [ "pam" "bash" "zsh" ];
|
||||
default = null;
|
||||
type = types.nullOr (types.enum [ "pam" "bash" "zsh" ]);
|
||||
example = "pam";
|
||||
description = ''
|
||||
Identifies the module that should set the session variables.
|
||||
|
|
@ -171,6 +171,9 @@ in
|
|||
If "pam" is set then PAM must be used to set the system
|
||||
environment. Also mind that typical environment variables
|
||||
might not be set by the time PAM starts up.
|
||||
</para><para>
|
||||
This option is DEPRECATED, the shell modules are now
|
||||
automatically setting the session variables when enabled.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue