diff options
author | Minijackson <minijackson@riseup.net> | 2024-03-29 16:51:37 +0100 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2024-03-29 16:51:37 +0100 |
commit | 893fc08e36affc721900a9be5a6538204b776696 (patch) | |
tree | 8753ee3b1f2ca4caf467ecd97a3c2a74c2295529 /common | |
parent | c09af559f0663f46c119e7d08e05a7e37cd1bf79 (diff) | |
download | nixos-config-reborn-893fc08e36affc721900a9be5a6538204b776696.tar.gz nixos-config-reborn-893fc08e36affc721900a9be5a6538204b776696.zip |
common/commandline: keep SSH_AUTH_SOCK when sudo
Diffstat (limited to 'common')
-rw-r--r-- | common/commandline.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/commandline.nix b/common/commandline.nix index 1bbb805..4288ded 100644 --- a/common/commandline.nix +++ b/common/commandline.nix | |||
@@ -73,6 +73,8 @@ in { | |||
73 | in '' | 73 | in '' |
74 | Defaults lecture = always | 74 | Defaults lecture = always |
75 | Defaults lecture_file = "${lectureFile}" | 75 | Defaults lecture_file = "${lectureFile}" |
76 | |||
77 | Defaults:root,%wheel env_keep+=SSH_AUTH_SOCK | ||
76 | ''; | 78 | ''; |
77 | 79 | ||
78 | programs.command-not-found.enable = false; | 80 | programs.command-not-found.enable = false; |