From ea494e9d76a76363ac9b652dc758f3daf1d499b6 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 22 Sep 2024 14:48:17 -0700 Subject: modules: move desktop networking to desktop --- modules/core/networking/vpn/tailscale.nix | 35 ------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 modules/core/networking/vpn/tailscale.nix (limited to 'modules/core/networking/vpn/tailscale.nix') diff --git a/modules/core/networking/vpn/tailscale.nix b/modules/core/networking/vpn/tailscale.nix deleted file mode 100644 index 0228915..0000000 --- a/modules/core/networking/vpn/tailscale.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: -{ - networking.firewall.trustedInterfaces = [ "${config.services.tailscale.interfaceName}" ]; - - # - boot.kernel.sysctl = { - "net.ipv4.ip_forward" = true; - "net.ipv6.conf.all.forwarding" = true; - }; - - services = { - tailscale = { - enable = true; - useRoutingFeatures = "both"; - authKeyFile = config.sops.secrets.tailscale_authentication_key.path; - }; - - networkd-dispatcher = { - enable = true; - - rules."50-tailscale" = { - onState = [ "routable" ]; - - script = '' - ${lib.getExe pkgs.ethtool} -K enp42s0 rx-udp-gro-forwarding on rx-gro-list off - ''; - }; - }; - }; -} -- cgit v1.2.3