Commit 3f446bfb authored by Raito Bezarius's avatar Raito Bezarius
Browse files

nixos/pam: fix ZFS support assertion

It was always complaining even if you didn't enable PAM ZFS.
parent cff89b3b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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`).
        '';