system.nixos.variant_id

NixOS option

A lower-case string identifying a specific variant or edition of the operating system

type: null or string matching the pattern ^[a-z0-9._-]+$
Default
null
Example
"installer"
declared in: nixos/modules/misc/version.nixView source on NixOS/nixpkgs →