Skip to content

Commit

Permalink
nixos/haka: fix assert
Browse files Browse the repository at this point in the history
(cherry picked from commit 5c99958)
  • Loading branch information
Stunkymonkey authored and github-actions[bot] committed Nov 24, 2024
1 parent b1ef92e commit 4a4b569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/security/haka.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 != [];
Expand Down

0 comments on commit 4a4b569

Please sign in to comment.