MyNixOS website logo
option

services.headscale.settings.prefixes.allocation

Strategy used for allocation of IPs to nodes, available options:

  • sequential (default): assigns the next free IP from the previous given IP.
  • random: assigns the next free IP from a pseudo-random IP generator (crypto/rand).
Declarations
Type
one of "sequential", "random"
Default
"sequential"
Example
"random"