forked from fediversity/fediversity
environment: fix implementation type
This commit is contained in:
parent
a3b5b8b2fe
commit
532f87b2ff
1 changed files with 4 additions and 1 deletions
|
|
@ -146,7 +146,10 @@ in
|
||||||
};
|
};
|
||||||
implementation = mkOption {
|
implementation = mkOption {
|
||||||
description = "Mapping of resources required by applications to available resources; the result can be deployed";
|
description = "Mapping of resources required by applications to available resources; the result can be deployed";
|
||||||
type = environment.config.resource-mapping.function-type;
|
type = functionTo (submoduleWith {
|
||||||
|
class = "nixops4Deployment";
|
||||||
|
modules = [ environment.config.resource-mapping.output-type ];
|
||||||
|
});
|
||||||
};
|
};
|
||||||
resource-mapping = mkOption {
|
resource-mapping = mkOption {
|
||||||
description = "Function type for the mapping from resources to a (NixOps4) deployment";
|
description = "Function type for the mapping from resources to a (NixOps4) deployment";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue