tv wiregrill: remove extra !
This commit is contained in:
parent
3c1a1f0f09
commit
5156185782
|
@ -28,8 +28,8 @@ in
|
|||
systemd.network.networks.wiregrill = {
|
||||
matchConfig.Name = "wiregrill";
|
||||
address =
|
||||
optional (!isNull cfg.net.ip4) (toCidrNotation cfg.net.ip4) ++
|
||||
optional (!isNull cfg.net.ip6) (toCidrNotation cfg.net.ip6);
|
||||
optional (cfg.net.ip4 != null) (toCidrNotation cfg.net.ip4) ++
|
||||
optional (cfg.net.ip6 != null) (toCidrNotation cfg.net.ip6);
|
||||
};
|
||||
tv.iptables.extra.filter.INPUT = [
|
||||
"-p udp --dport ${toString cfg.net.wireguard.port} -j ACCEPT"
|
||||
|
|
Loading…
Reference in a new issue