chore: comment out netbird, migrate back to tailscale

This commit is contained in:
Ryan Yin
2026-03-23 10:00:49 +08:00
parent 0d569116d2
commit 7f6759ce06
3 changed files with 30 additions and 33 deletions

View File

@@ -1,28 +1,25 @@
{ {
# tailscale do not support running multiple clients on the same host, services.tailscale = {
# so we use netbird for homelab instead. enable = true;
# port = 41641;
# services.tailscale = { interfaceName = "tailscale0";
# enable = true; # allow the Tailscale UDP port through the firewall
# port = 41641; openFirewall = true;
# interfaceName = "tailscale0";
# # allow the Tailscale UDP port through the firewall
# openFirewall = true;
#
# useRoutingFeatures = "server";
# extraSetFlags = [
# # access home network via tailscale
# "--advertise-routes=192.168.5.0/24"
# "--accept-routes=false"
# ];
# };
services.netbird.useRoutingFeatures = "server"; useRoutingFeatures = "server";
services.netbird.clients.homelab = { extraSetFlags = [
port = 51820; # access home network via tailscale
name = "homelab"; "--advertise-routes=192.168.5.0/24"
interface = "netbird-homelab"; "--accept-routes=false"
hardened = true; ];
autoStart = true;
}; };
# services.netbird.useRoutingFeatures = "server";
# services.netbird.clients.homelab = {
# port = 51820;
# name = "homelab";
# interface = "netbird-homelab";
# hardened = true;
# autoStart = true;
# };
} }

View File

@@ -168,7 +168,7 @@ in
"joplin" # note taking app "joplin" # note taking app
"tailscale-app" # tailscale macos app (with gui) "tailscale-app" # tailscale macos app (with gui)
"netbirdio/tap/netbird-ui" # netbird gui app # "netbirdio/tap/netbird-ui" # netbird gui app
# AI # AI
"lm-studio" "lm-studio"

View File

@@ -27,12 +27,12 @@
# #
# ============================================================= # =============================================================
{ {
services.netbird.useRoutingFeatures = "client"; # services.netbird.useRoutingFeatures = "client";
services.netbird.clients.homelab = { # services.netbird.clients.homelab = {
port = 51820; # port = 51820;
name = "homelab"; # name = "homelab";
interface = "netbird-homelab"; # interface = "netbird-homelab";
hardened = true; # hardened = true;
autoStart = true; # autoStart = true;
}; # };
} }