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 {
|
home.sessionVariableSetter = mkOption {
|
||||||
default = "pam";
|
default = "bash";
|
||||||
type = types.enum [ "pam" "bash" ];
|
type = types.enum [ "pam" "bash" ];
|
||||||
example = "bash";
|
example = "pam";
|
||||||
description = ''
|
description = ''
|
||||||
Identifies the module that should set the session variables.
|
Identifies the module that should set the session variables.
|
||||||
</para><para>
|
</para><para>
|
||||||
|
@ -166,7 +166,8 @@ in
|
||||||
must also be enabled.
|
must also be enabled.
|
||||||
</para><para>
|
</para><para>
|
||||||
If "pam" is set then PAM must be used to set the system
|
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