hooks: remove debug output

This commit is contained in:
phaer 2023-01-19 13:09:41 +01:00
parent dfd7ee9590
commit caf893b6eb

View file

@ -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;
};
};