-
|
Really basic, say I have two local flake-modules But that will give an error like this: Is there a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
The docs assume some familiarity with the module system.
flake-parts/modules/formatter.nix Line 16 in f4330d2 flake-parts/modules/formatter.nix Lines 27 to 38 in f4330d2 That module does a bit more, like exposing a flake output attribute, which you may or may not need, but at least the referenced part seems to be your missing ingredient. |
Beta Was this translation helpful? Give feedback.
The docs assume some familiarity with the module system.
The thing in
perSystemis a module, which means that you can do module things like declaring more options.config(and therefore the shorthand forconfig.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 underoptions:flake-parts/modules/formatter.nix
Line 16 in f4330d2
flake-parts/modules/formatter.nix
Lines 27 to 38 in f4330d2