diff options
author | Ryan Lahfa <masterancpp@gmail.com> | 2023-05-15 13:27:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-15 13:27:52 +0200 |
commit | 6d6c7c5993c42c275de081ef134d2b5a5929b3c2 (patch) | |
tree | 93e7efbb817eb9623b41f9fc7ca6eb7f06eaa127 /nixos | |
parent | 5a7e90bc95a9d6202e68719391d13535b977d38a (diff) | |
parent | 3f446bfbd356a58ce673d88b6e78f368f707c9f1 (diff) |
Merge pull request #232015 from NixOS/fix-zfs-unlock
nixos/pam: fix ZFS support assertion
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`). ''; |