diff options
| author | tv <tv@krebsco.de> | 2026-11-25 13:27:30 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-25 13:27:30 +0000 |
| commit | 21efde5e91c0b606a52bf9a07744d220a294f7fd (patch) | |
| tree | 08f55088148ea562840b76d29d72541de2d5c86a /modules/tinc.nix | |
| parent | 07e18d26264a21202cadcc0aca1a9648fda73540 (diff) | |
tinc: set DeviceType
tinc defaults to tun in router mode, but tincr to a dummy device, which carries no packets.
Diffstat (limited to 'modules/tinc.nix')
| -rw-r--r-- | modules/tinc.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/tinc.nix b/modules/tinc.nix index 7d406d64..0abb8473 100644 --- a/modules/tinc.nix +++ b/modules/tinc.nix @@ -19,6 +19,7 @@ "tinc.conf" = pkgs.writeText "${netname}-tinc.conf" '' Name = ${tinc.config.host.name} LogLevel = ${toString tinc.config.logLevel} + DeviceType = tun Interface = ${netname} Broadcast = no ${concatMapStrings (c: "ConnectTo = ${c}\n") tinc.config.connectTo} |
