fix: need key path?
This commit is contained in:
parent
7eaf0b98cf
commit
a8237efb4d
1 changed files with 7 additions and 2 deletions
|
@ -77,8 +77,13 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
security.pam.sshAgentAuth = {
|
||||||
# Passwordless sudo when SSH'ing with keys
|
# Passwordless sudo when SSH'ing with keys
|
||||||
security.pam.enableSSHAgentAuth = true;
|
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 = ''
|
||||||
|
|
Reference in a new issue