summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configs/retiolum.nix10
1 files 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] Unable to lock slot /tmp/cgit/d1200000.lock: Permission denied (13)