mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2026-02-02 09:25:08 +01:00
hooks: remove debug output
This commit is contained in:
parent
dfd7ee9590
commit
caf893b6eb
1 changed files with 6 additions and 6 deletions
12
types.nix
12
types.nix
|
|
@ -137,15 +137,15 @@ rec {
|
||||||
|
|
||||||
hookMixin = { config, options,... }: {
|
hookMixin = { config, options,... }: {
|
||||||
options = let
|
options = let
|
||||||
mkHook = default: mkOption {
|
mkHook = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = default;
|
default = "";
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
preCreateHook = mkHook "echo 'DEBUG preCreate: ${config.type}'";
|
preCreateHook = mkHook;
|
||||||
postCreateHook = mkHook "echo 'DEBUG postCreate: ${config.type}'";
|
postCreateHook = mkHook;
|
||||||
preMountHook = mkHook "echo 'DEBUG preMount: ${config.type}'";
|
preMountHook = mkHook;
|
||||||
postMountHook = mkHook "echo 'DEBUG postMount: ${config.type}'";
|
postMountHook = mkHook;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue