Skip to content

Commit

Permalink
Add note about flake output (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 authored Oct 23, 2024
1 parent 5faf014 commit bfc0154
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ Generating a `options.json` in a `nix repl` can be done with the following snipp
```
:b (pkgs.nixosOptionsDoc { inherit ((lib.evalModules { modules = [ { config._module.check = false; } outputs.nixosModules.default ]; })) options; warningsAreErrors = false; }).optionsJSON
```

It is assumed that the flake was loaded before with `:lf` and the module(s) is/are under `nixosModules.default`. For some flakes this may need to be adapted.

0 comments on commit bfc0154

Please sign in to comment.