mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-03 11:32:10 +02:00
update
This commit is contained in:
13
hosts/server/modules/exposed/tailscale.nix
Normal file
13
hosts/server/modules/exposed/tailscale.nix
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user