From 5221dee9ce989dfa6f606d79eee282aeaaaeb2f7 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Tue, 17 Jan 2017 01:13:31 +0100 Subject: [PATCH] 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. --- modules/home-environment.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/home-environment.nix b/modules/home-environment.nix index 3623bc203..4df0c4711 100644 --- a/modules/home-environment.nix +++ b/modules/home-environment.nix @@ -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. @@ -166,7 +166,8 @@ in must also be enabled. 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. ''; };