Skip to content

Commit

Permalink
docs/runNixOS: nixpkgs is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
roberth committed Oct 14, 2023
1 parent 30237fe commit 83c0f5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/modules/ROOT/pages/reference/nix-functions/runNixOS.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@ Example (Flakes): `configuration = self.nixosConfigurations.foo;`

Required, unless you set xref:param-config, which is not the preferred solution.

When this option is set to a pre-evaluated configuration, as in the latter example, xref:param-system[], xref:param-configuration[] and xref:param-nixpkgs[] are ignored.

[[param-nixpkgs]]
=== `nixpkgs`

Required when `configuration` is a module or file.

Path of the Nixpkgs sources to use. These also include the NixOS sources.

Default: `pkgs.path`, where `pkgs` is the Nixpkgs invocation that included the effects overlay.
Expand Down

0 comments on commit 83c0f5d

Please sign in to comment.