Merge #2692: Use pam_env to properly setup system-wide env

This commit is contained in:
Vladimír Čunát
2014-06-03 16:07:47 +02:00
parent 927c41e258
commit 18a0cdd864
10 changed files with 73 additions and 12 deletions

View File

@@ -58,9 +58,6 @@ in
# Don't edit this file. Set the NixOS option security.sudo.configFile instead.
# Environment variables to keep for root and %wheel.
Defaults:root,%wheel env_keep+=LOCALE_ARCHIVE
Defaults:root,%wheel env_keep+=NIX_CONF_DIR
Defaults:root,%wheel env_keep+=NIX_PATH
Defaults:root,%wheel env_keep+=TERMINFO_DIRS
Defaults:root,%wheel env_keep+=TERMINFO