system.name
The name of the system used in the system.build.toplevel derivation.
That derivation has the following name:
"nixos-system-${config.system.name}-${config.system.nixos.label}"
- Type
string- Default
if config.networking.hostName == "" then "unnamed" else config.networking.hostName;- Declared
- <nixpkgs/nixos/modules/system/activation/top-level.nix>