From a746b105788268719cda8a6fc8a856de81b55330 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Sat, 29 Mar 2025 14:33:44 +0100 Subject: [PATCH] chore: add description to {manifest, name} option --- lib/distributed-service/service-module.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/distributed-service/service-module.nix b/lib/distributed-service/service-module.nix index eeda0e5a3..f32728439 100644 --- a/lib/distributed-service/service-module.nix +++ b/lib/distributed-service/service-module.nix @@ -238,14 +238,20 @@ in }; }; }; - # placeholder = "roleName"; manifest = mkOption { + description = "Meta information about this module itself"; type = submoduleWith { modules = [ { options = { name = mkOption { + description = '' + The name of the module + + Mainly used to create an error context while evaluating. + This helps backtracking which module was included; And where an error came from originally. + ''; type = types.str; }; }; @@ -503,7 +509,6 @@ in }; } ) config.result.allMachines; - }; }; }