From 55ef33f951372b27df762bd6caebf0c1e09c637a Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 3 Dec 2026 03:07:37 +0000 Subject: retiolum: configure hrm.nftables only --- configs/retiolum.nix | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/configs/retiolum.nix b/configs/retiolum.nix index 6e20ca0f..94c9f00c 100644 --- a/configs/retiolum.nix +++ b/configs/retiolum.nix @@ -65,6 +65,8 @@ in { # measured across the mesh, so paths that lose large packets don't # stall TCP. systemd.network.networks."40-tincr-retiolum".linkConfig.MTUBytes = "1377"; + hrm.nftables.input.internet.tcp = [ "tinc" ]; + hrm.nftables.input.internet.udp = [ "tinc" ]; } (lib.mkIf config.enstate.enable { enstate.types.${keyType}.validator = keyValidator; @@ -74,13 +76,5 @@ in { source = lib.mkDefault { secrets.key = "retiolum.ed25519_key.priv"; }; }; }) - (lib.mkIf (!config.hrm.nftables.enable) { - tv.iptables.input-internet-accept-tcp = [ "tinc" ]; - tv.iptables.input-internet-accept-udp = [ "tinc" ]; - }) - (lib.mkIf config.hrm.nftables.enable { - hrm.nftables.input.internet.tcp = [ "tinc" ]; - hrm.nftables.input.internet.udp = [ "tinc" ]; - }) ]; } -- cgit v1.3.1 [cgit] Unable to lock slot /tmp/cgit/a4000000.lock: Permission denied (13)