diff --git a/nixos/modules/services/security/haka.nix b/nixos/modules/services/security/haka.nix index 66666a57fd8e..4a6325d65ad1 100644 --- a/nixos/modules/services/security/haka.nix +++ b/nixos/modules/services/security/haka.nix @@ -124,7 +124,7 @@ in { assertion = cfg.pcap != cfg.nfqueue; message = "either pcap or nfqueue can be enabled, not both."; } - { assertion = cfg.nfqueue -> !dump.enable; + { assertion = cfg.nfqueue -> !cfg.dump.enable; message = "dump can only be used with nfqueue."; } { assertion = cfg.interfaces != [];