Merge pull request #232015 from NixOS/fix-zfs-unlock
nixos/pam: fix ZFS support assertion
This commit is contained in:
commit
6d6c7c5993
|
@ -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