From 4a4b56934103fa59d33ff0668595d140028eee60 Mon Sep 17 00:00:00 2001 From: Felix Buehler Date: Sun, 24 Nov 2024 12:28:39 +0100 Subject: [PATCH] nixos/haka: fix assert (cherry picked from commit 5c99958613ddf26480115c2ff2846f0a7ca02c86) --- nixos/modules/services/security/haka.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/security/haka.nix b/nixos/modules/services/security/haka.nix index 66666a57fd8ef..4a6325d65ad14 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 != [];