nixos/pam: fix ZFS support assertion
It was always complaining even if you didn't enable PAM ZFS.
This commit is contained in:
parent
cff89b3bff
commit
3f446bfbd3
1 changed files with 1 additions and 1 deletions
|
@ -1287,7 +1287,7 @@ in
|
|||
'';
|
||||
}
|
||||
{
|
||||
assertion = config.security.pam.zfs.enable && (config.boot.zfs.enabled || config.boot.zfs.enableUnstable);
|
||||
assertion = config.security.pam.zfs.enable -> (config.boot.zfs.enabled || config.boot.zfs.enableUnstable);
|
||||
message = ''
|
||||
`security.pam.zfs.enable` requires enabling ZFS (`boot.zfs.enabled` or `boot.zfs.enableUnstable`).
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue