From caf893b6eb79178c0f9c70a05f3848cfffc23e96 Mon Sep 17 00:00:00 2001 From: phaer Date: Thu, 19 Jan 2023 13:09:41 +0100 Subject: [PATCH] hooks: remove debug output --- types.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/types.nix b/types.nix index af444e8..cd3659d 100644 --- a/types.nix +++ b/types.nix @@ -137,15 +137,15 @@ rec { hookMixin = { config, options,... }: { options = let - mkHook = default: mkOption { + mkHook = mkOption { type = types.str; - default = default; + default = ""; }; in { - preCreateHook = mkHook "echo 'DEBUG preCreate: ${config.type}'"; - postCreateHook = mkHook "echo 'DEBUG postCreate: ${config.type}'"; - preMountHook = mkHook "echo 'DEBUG preMount: ${config.type}'"; - postMountHook = mkHook "echo 'DEBUG postMount: ${config.type}'"; + preCreateHook = mkHook; + postCreateHook = mkHook; + preMountHook = mkHook; + postMountHook = mkHook; }; };