nixos/haka: fix assert

This commit is contained in:
Felix Buehler 2024-11-24 12:28:39 +01:00
parent af6f9b7aa8
commit 5c99958613

View File

@ -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 != [];