Skip to content

Commit 5c99958

Browse files
committed
nixos/haka: fix assert
1 parent af6f9b7 commit 5c99958

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nixos/modules/services/security/haka.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ in
124124
{ assertion = cfg.pcap != cfg.nfqueue;
125125
message = "either pcap or nfqueue can be enabled, not both.";
126126
}
127-
{ assertion = cfg.nfqueue -> !dump.enable;
127+
{ assertion = cfg.nfqueue -> !cfg.dump.enable;
128128
message = "dump can only be used with nfqueue.";
129129
}
130130
{ assertion = cfg.interfaces != [];

0 commit comments

Comments
 (0)