diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/unbound.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/unbound.nix b/modules/unbound.nix index 64f69364..2a2ff470 100644 --- a/modules/unbound.nix +++ b/modules/unbound.nix @@ -34,8 +34,8 @@ # but just restart, so we quickly get it back. systemd.services.unbound.stopIfChanged = false; - tv.iptables.input-retiolum-accept-udp = [ "domain" ]; - tv.iptables.input-wiregrill-accept-udp = [ "domain" ]; + hrm.nftables.input.retiolum.udp = [ "domain" ]; + hrm.nftables.input.wiregrill.udp = [ "domain" ]; }) (lib.mkIf cfg.DoH.enable (let http-port = 8053; @@ -62,7 +62,7 @@ ''; }; - tv.iptables.input-internet-accept-tcp = [ "https" ]; + hrm.nftables.input.internet.tcp = [ "https" ]; })) (lib.mkIf cfg.DoT.enable { services.unbound.settings.server = { @@ -78,7 +78,7 @@ "tls-service-key:/var/lib/acme/${cfg.useACMEHost}/key.pem" "tls-service-pem:/var/lib/acme/${cfg.useACMEHost}/fullchain.pem" ]; - tv.iptables.input-internet-accept-tcp = [ "domain-s" ]; + hrm.nftables.input.internet.tcp = [ "domain-s" ]; }) ]; } |
