add tailscale

Former-commit-id: 8ec108927c
This commit is contained in:
Hadi
2024-06-18 14:05:14 +02:00
committed by GitHub
parent be23ff67aa
commit 4f2ba52404
5 changed files with 23 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
{config, ...}:{
services.tailscale = {
enable = true;
useRoutingFeatures = "both";
authKeyFile = "/etc/tailscale/authKey";
openFirewall = true;
extraUpFlags = [ "--advertise-exit-node" ];
};
# Fix DNS & IPv6 bugs
networking.nftables.enable = true;
services.resolved.enable = true;
}