1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-01 02:48:30 +02: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:
Robert Helgesson 2017-01-17 01:13:31 +01:00
parent 30e30688b8
commit 5221dee9ce
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86

View File

@ -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.
''; '';
}; };