aboutsummaryrefslogtreecommitdiff
path: root/hosts/ganymede/nixos.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-01-19 12:52:42 -0600
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2026-01-19 12:52:42 -0600
commitbf7cb819821e5efcaea554e2a0de13b24a292b70 (patch)
tree9bdf787c27a104f02e58143c9d1a4947798f4683 /hosts/ganymede/nixos.nix
parentba6455a980ed295c7aeacb1902ff3641cfafbc77 (diff)
various wireguard fixes
Diffstat (limited to 'hosts/ganymede/nixos.nix')
-rw-r--r--hosts/ganymede/nixos.nix7
1 files changed, 7 insertions, 0 deletions
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;
}