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

This reverts commit 491c088731.
This commit is contained in:
Eelco Dolstra
2014-06-10 13:07:10 +02:00
parent 491c088731
commit 8ae659f16c
10 changed files with 73 additions and 12 deletions
-3
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