MyNixOS website logo

Specifies the platform where the NixOS configuration will run.

To cross-compile, set also nixpkgs.buildPlatform.

Ignored when nixpkgs.pkgs is set.

Declarations
Type
string or (attribute set)
Example
{
  system = "aarch64-linux";
}