nixpkgs.system
NixOS option
This option does not need to be specified for NixOS configurations with a recently generated hardware-configuration.nix. Specifies the Nix platform type on which NixOS should be built. It is better to specify nixpkgs.localSystem instead. { nixpkgs.system = ..; } is the same as { nixpkgs.localSystem.system = ..; } See nixpkgs.localSystem for more information. Ignored when nixpkgs.pkgs, nixpkgs.localSystem or nixpkgs.hostPlatform is set.
type: stringDefault
<rendered-html><p>Traditionally <code>builtins.currentSystem</code>, but unset when invoking NixOS through <code>lib.nixosSystem</code>.</p> </rendered-html>
Example
declared in: nixos/modules/misc/nixpkgs.nixView source on NixOS/nixpkgs →"i686-linux"