fix: need key path?

This commit is contained in:
truxnell 2024-03-21 12:16:50 +11:00
parent 7eaf0b98cf
commit a8237efb4d

View file

@ -77,8 +77,13 @@
]; ];
}; };
# Passwordless sudo when SSH'ing with keys security.pam.sshAgentAuth = {
security.pam.enableSSHAgentAuth = true; # Passwordless sudo when SSH'ing with keys
enable = true;
authorizedKeysFiles = [
"/etc/ssh/authorized_keys.d/%u"
];
};
# Free up to 1GiB whenever there is less than 100MiB left. # Free up to 1GiB whenever there is less than 100MiB left.
nix.extraOptions = '' nix.extraOptions = ''