flake/nixos/tailscale.nix

16 lines
415 B
Nix
Raw Normal View History

2024-11-16 13:38:09 -05:00
{
services.tailscale = {
enable = true;
2024-11-16 19:25:31 -05:00
# When using this configuration, make sure to create a file at /run/secrets/tailscale
# with the contents of your Tailscale auth key.
# Make sure your permissions are set correctly, e.g. 0600.
authKeyFile = "/run/secrets/tailscale";
extraUpFlags = [
"--ssh"
"--accept-routes"
"--accept-dns"
"--operator=cswimr"
];
2024-11-16 13:38:09 -05:00
};
}