From 14cabcd86e98120286f27e51a31d554dd373b395 Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 16 Dec 2024 21:15:25 +0100 Subject: [PATCH] Add failover routes to bakersfield-rpi4 / nuc-server --- nixos/hosts/bakersfield-rpi4/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/hosts/bakersfield-rpi4/default.nix b/nixos/hosts/bakersfield-rpi4/default.nix index 999e644e..e384fee6 100644 --- a/nixos/hosts/bakersfield-rpi4/default.nix +++ b/nixos/hosts/bakersfield-rpi4/default.nix @@ -6,6 +6,9 @@ time.timeZone = "America/Los_Angeles"; networking.hostName = "bakersfield-rpi4"; - services.tailscale.extraUpFlags = [ "--advertise-exit-node" ]; + services.tailscale.extraUpFlags = [ + "--advertise-exit-node" + "--advertise-routes=192.168.1.13/32,192.168.1.14/32,192.168.1.15/32,192.168.1.100/32,192.168.1.31/32" + ]; boot.kernel.sysctl = { "net.ipv4.ip_forward" = true; }; }