Former-commit-id: 154c21859d
This commit is contained in:
Hadi
2024-06-21 13:58:14 +02:00
parent f2b742e470
commit 9ab4dae87b
17 changed files with 20 additions and 20 deletions

View File

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