Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Tailscale — Tag Management Extensions

Purpose

Extensions to the standard NixOS Tailscale module, providing easier tag management.

Entry Point

Options

services.tailscale.tags

Typelist of string
Default[ ]

Additional tags to advertise for this device.

Tags are used for access control and routing in Tailscale. See https://tailscale.com/kb/1018/tags/ for more information.


Architecture / Services / Scope

This module extends the standard NixOS services.tailscale module by automatically constructing the --advertise-tags flag from the configured services.tailscale.tags list.

Operational Notes / Assumptions

  • Ensure the device has the necessary permissions in your Tailscale ACLs to apply the requested tags.

Usage Example

{ ... }: {
  services.tailscale = {
    enable = true;
    tags = [ "server" "internal" ];
  };
}

References