From 0780c092dff5be3e7e87ff8f1df66e94bdd327d4 Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Sun, 6 Jul 2025 13:03:01 +0200 Subject: [PATCH] format and remove unused argument for linter --- 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; + }; + }; + }); }; }; }