1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-16 15:32:46 +01:00

home-environment: deprecate option home.sessionVariableSetter

This commit is contained in:
Robert Helgesson 2018-01-04 16:12:06 +01:00
parent d7755de116
commit 18159c85b9
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86
2 changed files with 59 additions and 2 deletions

View file

@ -159,8 +159,8 @@ in
};
home.sessionVariableSetter = mkOption {
default = "bash";
type = types.enum [ "pam" "bash" "zsh" ];
default = null;
type = types.nullOr (types.enum [ "pam" "bash" "zsh" ]);
example = "pam";
description = ''
Identifies the module that should set the session variables.
@ -171,6 +171,9 @@ in
If "pam" is set then PAM must be used to set the system
environment. Also mind that typical environment variables
might not be set by the time PAM starts up.
</para><para>
This option is DEPRECATED, the shell modules are now
automatically setting the session variables when enabled.
'';
};