diff --git a/deployment/function.nix b/deployment/function.nix index 4f473107..d1a047f0 100644 --- a/deployment/function.nix +++ b/deployment/function.nix @@ -22,18 +22,16 @@ in function-type = mkOption { type = optionType; readOnly = true; - default = functionTo ( - submodule (function: { - options = { - input = mkOption { - type = submodule config.input-type; - }; - output = mkOption { - type = submodule config.output-type; - }; + default = functionTo (submodule { + options = { + input = mkOption { + type = submodule config.input-type; }; - }) - ); + output = mkOption { + type = submodule config.output-type; + }; + }; + }); }; }; }