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 = {
|
default = {
|
||||||
input-type = submodule application.config.module;
|
input-type = submodule application.config.module;
|
||||||
output-type = application-resources;
|
output-type = application-resources;
|
||||||
implementation = application.config.implementation;
|
declare = application.config.implementation;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -152,7 +152,7 @@ in
|
||||||
default = {
|
default = {
|
||||||
input-type = application-resources;
|
input-type = application-resources;
|
||||||
output-type = nixops4Deployment;
|
output-type = nixops4Deployment;
|
||||||
implementation = environment.config.implementation;
|
declare = environment.config.implementation;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config-mapping = mkOption {
|
config-mapping = mkOption {
|
||||||
|
@ -162,7 +162,7 @@ in
|
||||||
default = {
|
default = {
|
||||||
input-type = config.configuration;
|
input-type = config.configuration;
|
||||||
output-type = nixops4Deployment;
|
output-type = nixops4Deployment;
|
||||||
implementation =
|
declare =
|
||||||
cfg:
|
cfg:
|
||||||
# TODO: check cfg.enable.true
|
# TODO: check cfg.enable.true
|
||||||
let
|
let
|
||||||
|
|
|
@ -37,7 +37,7 @@ in
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
implementation = mkOption {
|
declare = mkOption {
|
||||||
type = config.function-type;
|
type = config.function-type;
|
||||||
default = _: { };
|
default = _: { };
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue