diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2025-01-26 23:12:07 +0100 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2025-01-26 23:13:57 +0100 |
| commit | 092f79fdd6d26df2c5e9be3a790f7709889bf71c (patch) | |
| tree | 3cefbe03f8c2fa9132dc8b5c32cbdb618221261a /config/networking.nix | |
| parent | 44bb33baf4d193445950d133652463dd5491c77c (diff) | |
networking: wireguard -> tailscale
Diffstat (limited to 'config/networking.nix')
| -rw-r--r-- | config/networking.nix | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/config/networking.nix b/config/networking.nix index 14333fe..970e2b1 100644 --- a/config/networking.nix +++ b/config/networking.nix @@ -18,21 +18,11 @@ ]; defaultGateway = "93.95.228.1"; nameservers = ["93.95.224.28" "93.95.224.29"]; + }; - firewall.allowedUDPPorts = [51820]; - wireguard = { - enable = true; - interfaces.talaria = { - ips = ["10.13.42.1/24"]; - listenPort = 51820; - privateKeyFile = "/etc/wireguard/talaria.key"; - peers = [ - { - publicKey = "RrRb7eFxyfOOM99pJyBJ9fOIaZeEllHa8kQheN99dFE="; - allowedIPs = ["10.13.42.2"]; - } - ]; - }; - }; + services.tailscale = { + enable = true; + openFirewall = true; + disableTaildrop = true; }; } |
