commit 5ee131d160d4dae98953e0b049980f13ff3bc004
parent c62e258f3da2a50938e793cc443fa21c2f166a69
Author: Vincent Demeester <vincent@sbr.pm>
Date: Sun, 3 May 2020 17:58:40 +0200
base.nixos: add SSH_AUTH_SOCK to env_keep
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/modules/profiles/base.nixos.nix b/modules/profiles/base.nixos.nix
@@ -39,6 +39,11 @@ in
gnumake
];
};
+ security.sudo = {
+ extraConfig = ''
+ Defaults env_keep += SSH_AUTH_SOCK
+ '';
+ };
systemd.services."status-email-root@" = {
description = "status email for %i to vincent";
serviceConfig = {