diff options
author | Raito Bezarius <masterancpp@gmail.com> | 2023-05-15 12:06:04 +0200 |
---|---|---|
committer | Raito Bezarius <masterancpp@gmail.com> | 2023-05-15 12:06:04 +0200 |
commit | 3f446bfbd356a58ce673d88b6e78f368f707c9f1 (patch) | |
tree | c1b0b9b81ebc4b16dc20258f6d02687e9583f946 /nixos | |
parent | cff89b3bffd420f1b9ca47c9c74a79953f0abeca (diff) |
nixos/pam: fix ZFS support assertion
It was always complaining even if you didn't enable PAM ZFS.
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/security/pam.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix index 41994aa524229..eac67cfdec5a6 100644 --- a/nixos/modules/security/pam.nix +++ b/nixos/modules/security/pam.nix @@ -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`). ''; |