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 = {
|
||||
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";
|
||||
|
|
Loading…
Add table
Reference in a new issue