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
|
@ -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