Skip to content

Commit 6632eed

Browse files
authored
nixos/haka: fix assert (#358675)
2 parents d11140f + 5c99958 commit 6632eed

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)