This commit is contained in:
Hadi
2024-06-23 17:52:19 +02:00
parent f8786dd24f
commit c5420f8d3a
30 changed files with 50 additions and 74 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;
}