Skip to content

Commit

Permalink
docs/runNixOS: configuration now supports configuration objects
Browse files Browse the repository at this point in the history
Sounds obvious when you put it like that, but these attrsets returned
by NixOS didn't have a name before.
  • Loading branch information
roberth committed Oct 14, 2023
1 parent 2104944 commit 30237fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/modules/ROOT/pages/reference/nix-functions/runNixOS.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ When this option is set, xref:param-system[], xref:param-configuration[] and xre
[[param-configuration]]
=== `configuration`

A NixOS configuration file or module.
A NixOS configuration or module.

Example: `configuration = ./configuration.nix;`

Required, unless you invoke the module system yourself via xref:param-config.
Example (Flakes): `configuration = self.nixosConfigurations.foo;`

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


[[param-nixpkgs]]
Expand Down

0 comments on commit 30237fe

Please sign in to comment.