prevent tailscale from disconnecting on change of wifi networks

This commit is contained in:
wi11-holdsworth 2025-08-05 09:17:13 +10:00
parent 8286496b2a
commit 002e2d3e66

View file

@ -8,7 +8,12 @@ let
in in
{ {
config = lib.mkIf config.${feature}.enable { config = lib.mkIf config.${feature}.enable {
services.tailscale.enable = true; services.tailscale = {
enable = true;
extraSetFlags = [
"--accept-dns=false"
];
};
networking.firewall.trustedInterfaces = [ "tailscale0" ]; networking.firewall.trustedInterfaces = [ "tailscale0" ];
}; };