# Tailscale

Private WireGuard networks made easy.

View the [*synix* NixOS module on Forgejo](https://git.sid.ovh/sid/synix/tree/master/modules/nixos/tailscale).

## References

- [Website](https://tailscale.com/)
- [GitHub](https://github.com/tailscale/tailscale)
- [Documents](https://tailscale.com/kb/1017/install)

## Sops

Provide the following entries to your `secrets.yaml`:

> Replace `abc123` with your actual secrets

```yaml
tailscale:
    auth-key: abc123
```

## Config

```nix
{
  imports = [ inputs.synix.nixosModules.tailscale ];

  services.tailscale = {
    enable = true;
    enableSSH = true;
    loginServer = "<your-headscale-instance>";
  };
}
```
