nixpkgs.hostPlatform
Specifies the platform where the NixOS configuration will run.
To cross-compile, set also nixpkgs.buildPlatform.
Ignored when nixpkgs.pkgs is set.
- Type
string or (attribute set)- Example
{ system = "aarch64-linux"; }- Declared
- <nixpkgs/nixos/modules/misc/nixpkgs.nix>