summaryrefslogtreecommitdiffstats
path: root/tv/2configs
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
commit7c305f3f703121acb878cafcecd7e9850eb41120 (patch)
tree41e9ee19296f458f465ecab59348c7022e7a7d14 /tv/2configs
parent6843d7f59395e16d06a6c939c218258820aa1861 (diff)
tv: sudoers env_keep += SSH_CLIENT
Diffstat (limited to 'tv/2configs')
-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 5a1e90b..9b83997 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
'';