This commit is contained in:
Valentin Gagarin 2025-07-01 15:12:26 +02:00
parent 7225eda440
commit 21aaa26510

View file

@ -20,18 +20,23 @@ in
options = { options = {
resources = mkOption { resources = mkOption {
description = "Collection of deployment resources that can be configured by hosting providers and required by applications"; description = "Collection of deployment resources that can be configured by hosting providers and required by applications";
type = attrsOf (submodule { type = attrsOf (
options = { submodule (
consumer = mkOption { { config, ... }:
description = "Configuration of the resource by an application, a description of how the resource is consumed"; {
type = deferredModule; options = {
}; consumer = mkOption {
provider = mkOption { description = "Configuration of the resource by an application, a description of how the resource is consumed";
description = "Configuration of the resource by the hosting provider, a description of how the resource is made available"; type = deferredModule;
type = deferredModule; };
}; provider = mkOption {
}; description = "Configuration of the resource by the hosting provider, a description of how the resource is made available";
}); type = deferredModule;
};
};
}
)
);
}; };
applications = mkOption { applications = mkOption {
description = "Collection of Fediversity applications"; description = "Collection of Fediversity applications";