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)
Default
(import "${nixos}/../lib").lib.systems.examples.aarch64-multiplatform
Example
{
  system = "aarch64-linux";
}