summaryrefslogtreecommitdiffstats
path: root/tv/2configs/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-25 13:45:23 +0100
committertv <tv@krebsco.de>2016-02-25 13:45:23 +0100
commit271c7843120dc079c6507fc2d7d08fff9105e3a5 (patch)
tree7daf2345be1c632d3057d0fd6215fed56625c7e8 /tv/2configs/default.nix
parent8393444dce1888d369955e46dd16983a43762bb9 (diff)
tv: sudoers env_keep += SSH_CLIENT
Diffstat (limited to 'tv/2configs/default.nix')
-rw-r--r--tv/2configs/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix
index 5a1e90bc4..9b83997bb 100644
--- a/tv/2configs/default.nix
+++ b/tv/2configs/default.nix
@@ -49,6 +49,7 @@ with config.krebs.lib;
}
{
security.sudo.extraConfig = ''
+ Defaults env_keep+="SSH_CLIENT"
Defaults mailto="${config.krebs.users.tv.mail}"
Defaults !lecture
'';