Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Thanks @infinisil

Co-authored-by: Silvan Mosberger <[email protected]>
  • Loading branch information
hsjobeki and infinisil committed Oct 28, 2024
1 parent 8a8fe93 commit 2b22275
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ rec {
/**
Creates an Option attribute set. mkOption accepts an attribute set with the following keys:
All keys default to `null` when not given.
# Inputs
Structured attribute set
Expand All @@ -88,7 +86,6 @@ rec {
`default`
: Optional default value used when no definition is given in the configuration.
`defaultText`
: Substitute for documenting the `default`, if evaluating the default value during documentation rendering is not possible.
: Can be any nix value that evaluates.
Expand All @@ -101,7 +98,7 @@ rec {
: Usage with `lib.literalMD` or `lib.literalExpression` is supported
`description`
: Optional string describing the option.
: Optional string describing the option. This is required if option documentation is generated.
`relatedPackages`
: Optional related packages used in the manual (see `genRelatedPackages` in `../nixos/lib/make-options-doc/default.nix`).
Expand Down

0 comments on commit 2b22275

Please sign in to comment.