nixos/pam: Fix use of renamed enableSSHAgentAuth
option
This commit is contained in:
parent
c289413caa
commit
0e5c95035d
1 changed files with 1 additions and 1 deletions
|
@ -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` ?
|
||||
|
|
Loading…
Reference in a new issue