From 015ea1647524715e1b3452f9b4b0ecd6126c6ac0 Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Sat, 19 Jul 2025 12:15:52 +0200 Subject: [PATCH] model: deadnix --- deployment/function.nix | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) 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; + }; + }; + }); }; }; }