summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2024-08-05 11:54:49 -0600
committerDevin Finlinson <devin.finlinson@pm.me>2024-08-05 11:54:49 -0600
commit34e7c1b80141176b9d3196323fd2e09a226cd3fc (patch)
tree35d106d9c50cd4daee515d3746003474bbb21022 /modules
parent809454672c21c2da074c978c1a18fece36c637c7 (diff)
ssh sudo auth test
Diffstat (limited to 'modules')
-rw-r--r--modules/users/defin.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/users/defin.nix b/modules/users/defin.nix
index ab0f467..d72dfa9 100644
--- a/modules/users/defin.nix
+++ b/modules/users/defin.nix
@@ -30,7 +30,10 @@
};
nix.settings.trusted-users = [ "@builders" ];
- security.pam.sshAgentAuth.enable = true;
+ security.pam = {
+ sshAgentAuth.enable = true;
+ services.sudo.sshAgentAuth = true;
+ };
# I can't think of a better spot to put this rn.
services.openssh = {
ports = [ 22 2200 ]; # needed because isp blocks ssh over 22