Merge pull request #279650 from nbraud/nixos/pam/ssh-agent-auth

nixos/pam: Fix use of renamed `enableSSHAgentAuth` option
This commit is contained in:
Maciej Krüger
2024-01-08 19:21:03 +01:00
committed by GitHub
+1 -1
View File
@@ -1476,7 +1476,7 @@ in
'';
}
{
assertion = config.security.pam.enableSSHAgentAuth -> config.services.openssh.authorizedKeysFiles != [];
assertion = with config.security.pam.sshAgentAuth; enable -> authorizedKeysFiles != [];
message = ''
`security.pam.enableSSHAgentAuth` requires `services.openssh.authorizedKeysFiles` to be a non-empty list.
Did you forget to set `services.openssh.enable` ?