Change docs for flake.apps.<name>.<name>.* to flake.apps.<system>.<name>.*
Adding "placeholder" parameter to the attrs type allows changing the name that shows up in the docs. Since we have two in a row, this adds clarity here.
This commit is contained in:
parent
7f38f25a44
commit
2936a61cb6
1 changed files with 5 additions and 1 deletions
6
lib.nix
6
lib.nix
|
|
@ -174,7 +174,11 @@ let
|
|||
options = {
|
||||
flake = flake-parts-lib.mkSubmoduleOptions {
|
||||
${name} = mkOption {
|
||||
type = types.lazyAttrsOf option.type;
|
||||
type = types.attrsWith {
|
||||
elemType = option.type;
|
||||
lazy = true;
|
||||
placeholder = "system";
|
||||
};
|
||||
default = { };
|
||||
description = ''
|
||||
See {option}`perSystem.${name}` for description and examples.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue