nixos/pam: Do not incorrectly use zfs.enableUnstable in assertion
`zfs.enableUnstable` only has an effect if `zfs.enabled = true`, so only require `zfs.enabled` to be true here.
This commit is contained in:
parent
929fcf9335
commit
2e36c49949
@ -1458,9 +1458,9 @@ 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;
|
||||
message = ''
|
||||
`security.pam.zfs.enable` requires enabling ZFS (`boot.zfs.enabled` or `boot.zfs.enableUnstable`).
|
||||
`security.pam.zfs.enable` requires enabling ZFS (`boot.zfs.enabled`).
|
||||
'';
|
||||
}
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user