nixpkgs.config

Global configuration for Nixpkgs. The complete list of Nixpkgs configuration options is in the Nixpkgs manual section on global configuration.

Ignored when nixpkgs.pkgs is set.

Type
nixpkgs config
Default
{ }
Example
{ allowBroken = true; allowUnfree = true; }
Declared
<nixpkgs/nixos/modules/misc/nixpkgs.nix>