Skip to content

Commit

Permalink
Add FAQ example
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelCoding authored Jan 24, 2025
1 parent 570cc17 commit 5db3de8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ It is often the easiest to move everything depending on the arguments into the `

### default/example is a string/has extra surrounding quotes

This is caused by a missing `lib.literalExpression` in default/example. Please open a pull request against the source of that option to fix this.
This is caused by a missing `lib.literalExpression` in default/example. Please open a pull request against the source of that option to fix this. (e.g. [change in nixos-hardware](https://github.com/NixOS/nixos-hardware/pull/1343))

## Debugging `options.json`

Generating a `options.json` in a `nix repl` can be done with the following snippet:

```
```nix
:b (pkgs.nixosOptionsDoc { inherit ((lib.evalModules { modules = [ { config._module.check = false; } outputs.nixosModules.default ]; })) options; warningsAreErrors = false; }).optionsJSON
```

Expand Down

0 comments on commit 5db3de8

Please sign in to comment.