about summary refs log tree commit diff
path: root/nixos/modules/security
diff options
context:
space:
mode:
authorGuillaume Maudoux <guillaume.maudoux@uclouvain.be>2017-06-27 10:57:44 +0200
committerGuillaume Maudoux <guillaume.maudoux@uclouvain.be>2017-06-30 11:17:11 +0200
commitbd562949cfa82b76ef5959bd53ee9596bc35e705 (patch)
treebcf106a87ca0c64f15fdaf8738707fbb869b7d96 /nixos/modules/security
parentd61c22341b00171b53697164cb8241184979d14c (diff)
downloadnixlib-bd562949cfa82b76ef5959bd53ee9596bc35e705.tar
nixlib-bd562949cfa82b76ef5959bd53ee9596bc35e705.tar.gz
nixlib-bd562949cfa82b76ef5959bd53ee9596bc35e705.tar.bz2
nixlib-bd562949cfa82b76ef5959bd53ee9596bc35e705.tar.lz
nixlib-bd562949cfa82b76ef5959bd53ee9596bc35e705.tar.xz
nixlib-bd562949cfa82b76ef5959bd53ee9596bc35e705.tar.zst
nixlib-bd562949cfa82b76ef5959bd53ee9596bc35e705.zip
terminfo: symlink terminfo to /etc for ncurses
Diffstat (limited to 'nixos/modules/security')
-rw-r--r--nixos/modules/security/sudo.nix4
1 files changed, 0 insertions, 4 deletions
diff --git a/nixos/modules/security/sudo.nix b/nixos/modules/security/sudo.nix
index 67a9b9a45ee3..cfd0595e63b7 100644
--- a/nixos/modules/security/sudo.nix
+++ b/nixos/modules/security/sudo.nix
@@ -66,10 +66,6 @@ in
         # Don't edit this file. Set the NixOS options ‘security.sudo.configFile’
         # or ‘security.sudo.extraConfig’ instead.
 
-        # Environment variables to keep for root and %wheel.
-        Defaults:root,%wheel env_keep+=TERMINFO_DIRS
-        Defaults:root,%wheel env_keep+=TERMINFO
-
         # Keep SSH_AUTH_SOCK so that pam_ssh_agent_auth.so can do its magic.
         Defaults env_keep+=SSH_AUTH_SOCK