nixpkgs.hostPlatform
NixOS option
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
declared in: nixos/modules/misc/nixpkgs.nixView source on NixOS/nixpkgs →{
system = "aarch64-linux";
}