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:
Maxwell Clarke 2025-08-06 12:27:52 +12:00 committed by GitHub
parent 7f38f25a44
commit 2936a61cb6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.