flake/nixos/tailscale.nix

10 lines
334 B
Nix
Executable file

{
services.tailscale = {
enable = true;
# 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" ];
};
}