mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 09:28:27 +02:00
chore: comment out netbird, migrate back to tailscale
This commit is contained in:
@@ -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;
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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;
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user