mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +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,... }: {
|
||||
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;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue