From bf7cb819821e5efcaea554e2a0de13b24a292b70 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Mon, 19 Jan 2026 12:52:42 -0600 Subject: various wireguard fixes --- hosts/ganymede/nixos.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'hosts/ganymede/nixos.nix') diff --git a/hosts/ganymede/nixos.nix b/hosts/ganymede/nixos.nix index 6680967..47e3129 100644 --- a/hosts/ganymede/nixos.nix +++ b/hosts/ganymede/nixos.nix @@ -1,6 +1,7 @@ { config, inputs, + lib, ... }: { imports = [ @@ -15,12 +16,18 @@ services.tailscale.extraSetFlags = ["--advertise-exit-node"]; + networking.firewall.allowedUDPPorts = [51820]; + # backup usb teather configuration systemd.network.networks."80-usb-teather" = { name = "enp0s20f0u2"; networkConfig.DHCP = "yes"; }; + systemd.networks."12-wireguard" = { + networkConfig.Address = lib.mkForce ["100.100.0.1/24"]; + }; + # i broke something and this fixes it environment.etc."systemd/resolved.conf.d/10-dns.conf".text = config.environment.etc."systemd/resolved.conf".text; } -- cgit v1.3.1