global/security: refactor SSH agent auth
This commit is contained in:
parent
5b5ab8c9a1
commit
fb073ae827
1 changed files with 4 additions and 1 deletions
|
@ -11,7 +11,10 @@ with lib;
|
|||
defaults.email = "infinidoge@inx.moe";
|
||||
};
|
||||
|
||||
pam.enableSSHAgentAuth = true;
|
||||
pam.sshAgentAuth = {
|
||||
enable = true;
|
||||
authorizedKeysFiles = lib.mkForce [ "/etc/ssh/authorized_keys.d/%u" ];
|
||||
};
|
||||
};
|
||||
|
||||
hardware = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue