From 2936a61cb6a2e98b93ad74b63334ec2c4fbb42cd Mon Sep 17 00:00:00 2001 From: Maxwell Clarke Date: Wed, 6 Aug 2025 12:27:52 +1200 Subject: [PATCH] Change docs for `flake.apps...*` to `flake.apps...*` 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. --- lib.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib.nix b/lib.nix index b76ce7a..2ff8bb0 100644 --- a/lib.nix +++ b/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.