Tailscale: Difference between revisions
No edit summary |
No edit summary |
||
| Line 13: | Line 13: | ||
}|name=/etc/nixos/configuration.nix|lang=nix}} | }|name=/etc/nixos/configuration.nix|lang=nix}} | ||
After enabling Tailscale | After enabling, you can login to your Tailscale account with:<syntaxhighlight lang="console"> | ||
# tailscale login | |||
If you are using features like subnet routers or exit nodes you will also need to set <code><nowiki>services.tailscale.useRoutingFeatures</nowiki></code> to "server", "client" or "both" depending on the role of your machine. | </syntaxhighlight>If you are using features like subnet routers or exit nodes you will also need to set <code><nowiki>services.tailscale.useRoutingFeatures</nowiki></code> to "server", "client" or "both" depending on the role of your machine. | ||
For more configuration option, refer to [Https://search.nixos.org/options?show=services.tailscale services.tailscale]. | For more configuration option, refer to [Https://search.nixos.org/options?show=services.tailscale services.tailscale]. | ||