forked from Fediversity/Fediversity
environment: fix implementation type
This commit is contained in:
parent
3d94b227d7
commit
f76485819d
1 changed files with 4 additions and 1 deletions
|
@ -151,7 +151,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