12 lines
276 B
Nix
12 lines
276 B
Nix
{ config, ... }: {
|
|
services.tailscale = {
|
|
enable = true;
|
|
authKeyFile = config.sops.secrets."tailscale/auth".path;
|
|
extraUpFlags = [
|
|
"--advertise-exit-node"
|
|
"--accept-dns=false"
|
|
];
|
|
useRoutingFeatures = "server";
|
|
openFirewall = true;
|
|
};
|
|
}
|