nixos/pam: Fix use of renamed enableSSHAgentAuth option
This commit is contained in:
@@ -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` ?
|
||||
|
||||
Reference in New Issue
Block a user