From 5c99958613ddf26480115c2ff2846f0a7ca02c86 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 --- 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 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 != [];