devices.cross.tinc: use tcp only

This commit is contained in:
2025-11-17 09:09:30 +08:00
parent d2836a9955
commit aaadfa1191

View File

@@ -155,7 +155,7 @@ in
{
services.tinc.networks.tinc0 =
{
settings = { Interface = "tinc0"; Name = tincHostname hostname; PingInterval = 10; };
settings = { Interface = "tinc0"; Name = tincHostname hostname; PingInterval = 10; TCPOnly = true; };
ed25519PrivateKeyFile = inputs.config.nixos.system.sops.secrets."tinc".path;
hostSettings = inputs.lib.mkMerge
[