Configuration is now held by the `.org` files. All `.nix` files are tangled from the org-mode files.
1.3 KiB
1.3 KiB
Tailscale
Tailscale
I use Tailscale as the mesh VPN tying all my machines together. Here’s
the nixos.tailscale module.
{
flake.modules.nixos.tailscale = {
services.tailscale = {
<<enable>>
<<extra-flags>>
};
};
}
Enabling Tailscale
enable = true;
Extra Flags
I add some extra flags for Tailscale.
| Flag | Why |
|---|---|
--accept-dns |
Turns on MagicDNS |
--accept-routes |
Let this machine use subnets advertised by other nodes |
--ssh |
Turns on Tailscale’s own SSH server for easy SSH access |
"--accept-dns" "--accept-routes" "--ssh"
extraSetFlags = [
<<make-flags()>>
];