diff --git a/deployment/function.nix b/deployment/function.nix deleted file mode 100644 index f0210a34..00000000 --- a/deployment/function.nix +++ /dev/null @@ -1,36 +0,0 @@ -/** - Modular function type -*/ -{ config, lib, ... }: -let - inherit (lib) mkOption types; - inherit (types) - submodule - functionTo - optionType - ; -in -{ - options = { - input-type = mkOption { - type = optionType; - }; - output-type = mkOption { - type = optionType; - }; - function-type = mkOption { - type = optionType; - readOnly = true; - default = functionTo (submodule { - options = { - input = mkOption { - type = config.input-type; - }; - output = mkOption { - type = config.output-type; - }; - }; - }); - }; - }; -}