1
0
Fork 0
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:
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 {
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.
'';
};