From e69bb3bccb7fc3d39341b435431d26e0798e717f Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Fri, 1 Aug 2025 13:01:40 +0200 Subject: [PATCH] remove module functions --- deployment/function.nix | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 deployment/function.nix 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; - }; - }; - }); - }; - }; -}