forked from Fediversity/Fediversity
environment: fix implementation type
This commit is contained in:
parent
3efe6f347f
commit
9b5eb50fbc
1 changed files with 4 additions and 1 deletions
|
@ -150,7 +150,10 @@ in
|
|||
};
|
||||
implementation = mkOption {
|
||||
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 {
|
||||
description = "Function type for the mapping from resources to a (NixOps4) deployment";
|
||||
|
|
Loading…
Add table
Reference in a new issue