nixpkgs.hostPlatform

Specifies the platform where the nix-darwin configuration will run.

To cross-compile, set also nixpkgs.buildPlatform.

Ignored when nixpkgs.pkgs is set.

Type
string or (attribute set)
Example
{
  system = "aarch64-darwin";
}
Declared
<nix-darwin/modules/nix/nixpkgs.nix>