Skip to content
Discussion options

You must be logged in to vote

The docs assume some familiarity with the module system.
The thing in perSystem is a module, which means that you can do module things like declaring more options.

config (and therefore the shorthand for config.perSystem) is ignored while generating docs, so if you wish to render option docs from the new options, you may refer to this example, placing everything under options:


perSystem = mkPerSystemOption {
_file = ./formatter.nix;
options = {
formatter = mkOption {
type = types.nullOr types.package;
default = n…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BenChand
Comment options

Answer selected by BenChand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants