nixos/incus: handle networking.firewall.backend in firewall assertion
apparently one can enable the nftables backend without enabling nftables
This commit is contained in:
@@ -288,7 +288,7 @@ in
|
||||
assertion =
|
||||
!(
|
||||
config.networking.firewall.enable
|
||||
&& !config.networking.nftables.enable
|
||||
&& !(config.networking.nftables.enable || config.networking.firewall.backend == "nftables")
|
||||
&& config.virtualisation.incus.enable
|
||||
);
|
||||
message = "Incus on NixOS is unsupported using iptables. Set `networking.nftables.enable = true;`";
|
||||
|
||||
Reference in New Issue
Block a user