mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
home-environment: use Bash to set variables
Until a few more standard variables are available to PAM it is a bit risky to default to it.
This commit is contained in:
parent
30e30688b8
commit
5221dee9ce
1 changed files with 4 additions and 3 deletions
|
@ -156,9 +156,9 @@ in
|
|||
};
|
||||
|
||||
home.sessionVariableSetter = mkOption {
|
||||
default = "pam";
|
||||
default = "bash";
|
||||
type = types.enum [ "pam" "bash" ];
|
||||
example = "bash";
|
||||
example = "pam";
|
||||
description = ''
|
||||
Identifies the module that should set the session variables.
|
||||
</para><para>
|
||||
|
@ -166,7 +166,8 @@ in
|
|||
must also be enabled.
|
||||
</para><para>
|
||||
If "pam" is set then PAM must be used to set the system
|
||||
environment.
|
||||
environment. Also mind that typical environment variables
|
||||
might not be set by the time PAM starts up.
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue