forked from fediversity/fediversity
WIP
This commit is contained in:
parent
7225eda440
commit
21aaa26510
1 changed files with 17 additions and 12 deletions
|
@ -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";
|
||||||
|
|
Loading…
Add table
Reference in a new issue