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 = {
resources = mkOption {
description = "Collection of deployment resources that can be configured by hosting providers and required by applications";
type = attrsOf (submodule {
options = {
consumer = mkOption {
description = "Configuration of the resource by an application, a description of how the resource is consumed";
type = deferredModule;
};
provider = mkOption {
description = "Configuration of the resource by the hosting provider, a description of how the resource is made available";
type = deferredModule;
};
};
});
type = attrsOf (
submodule (
{ config, ... }:
{
options = {
consumer = mkOption {
description = "Configuration of the resource by an application, a description of how the resource is consumed";
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 {
description = "Collection of Fediversity applications";