services.headscale.settings.prefixes.allocation

NixOS option

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).

type: one of "sequential", "random"
Default
"sequential"
Example
"random"
declared in: nixos/modules/services/networking/headscale.nixView source on NixOS/nixpkgs →