forked from Fediversity/Fediversity
rename internal implementation
to declare
, mirroring apply
This commit is contained in:
parent
efbe7deddd
commit
d066b1d55c
2 changed files with 4 additions and 4 deletions
|
@ -115,7 +115,7 @@ in
|
|||
default = {
|
||||
input-type = submodule application.config.module;
|
||||
output-type = application-resources;
|
||||
implementation = application.config.implementation;
|
||||
declare = application.config.implementation;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -152,7 +152,7 @@ in
|
|||
default = {
|
||||
input-type = application-resources;
|
||||
output-type = nixops4Deployment;
|
||||
implementation = environment.config.implementation;
|
||||
declare = environment.config.implementation;
|
||||
};
|
||||
};
|
||||
config-mapping = mkOption {
|
||||
|
@ -162,7 +162,7 @@ in
|
|||
default = {
|
||||
input-type = config.configuration;
|
||||
output-type = nixops4Deployment;
|
||||
implementation =
|
||||
declare =
|
||||
cfg:
|
||||
# TODO: check cfg.enable.true
|
||||
let
|
||||
|
|
|
@ -37,7 +37,7 @@ in
|
|||
};
|
||||
});
|
||||
};
|
||||
implementation = mkOption {
|
||||
declare = mkOption {
|
||||
type = config.function-type;
|
||||
default = _: { };
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue