diff options
| author | Isabella Bastaja <isabella@sorre.xyz> | 2026-08-20 22:20:13 +0200 |
|---|---|---|
| committer | Isabella Bastaja <isabella@sorre.xyz> | 2026-08-20 22:27:40 +0200 |
| commit | 65547b241d7b86cd0b309045d10cfec3483e3df5 (patch) | |
| tree | 73553fb9b2c5e734f85da8f5cc9ec56fc4f9172c /hosts/tower/network.nix | |
| parent | 1f077d4411f9e77410f12dbc1067d89faff7e96f (diff) | |
more tower migration stuff, prepare for cgit-public migration
Diffstat (limited to 'hosts/tower/network.nix')
| -rw-r--r-- | hosts/tower/network.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/hosts/tower/network.nix b/hosts/tower/network.nix index fc0fdc5..09a97a3 100644 --- a/hosts/tower/network.nix +++ b/hosts/tower/network.nix @@ -1,7 +1,17 @@ -{ ... }: +{ config, ... }: { networking = { hostName = "tower"; networkmanager.enable = true; + firewall = { + checkReversePath = "loose"; + trustedInterfaces = [ "tailscale0" ]; + allowedUDPPorts = [ config.services.tailscale.port ]; + }; + }; + + services.tailscale = { + enable = true; + openFirewall = true; }; } |
