diff options
author | lassulus <git@lassul.us> | 2023-02-03 13:28:15 +0100 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-02-03 13:28:15 +0100 |
commit | 66586d70beeb8c02a6ad695303d30709c17a1c27 (patch) | |
tree | 91f208975d677a659ac14164c36034ac44d06738 /tv/2configs | |
parent | 2fa9f8601ed3f5c81316b9b780a03d414b4de9b3 (diff) | |
parent | af9e845e861b51d691102c1bc177dfe5e26fe63f (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/wiregrill.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tv/2configs/wiregrill.nix b/tv/2configs/wiregrill.nix index d28a1ec29..edf65e979 100644 --- a/tv/2configs/wiregrill.nix +++ b/tv/2configs/wiregrill.nix @@ -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" |