mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-08-21 18:55:47 +02:00
ba0a151f1e
Former-commit-id: 73ac8d8188
14 lines
346 B
Nix
14 lines
346 B
Nix
{ 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;
|
|
}
|