diff options
-rw-r--r-- | hm/soispha/conf/taskwarrior/default.nix | 2 | ||||
-rw-r--r-- | hm/soispha/conf/taskwarrior/hooks/default.nix | 12 |
2 files changed, 8 insertions, 6 deletions
diff --git a/hm/soispha/conf/taskwarrior/default.nix b/hm/soispha/conf/taskwarrior/default.nix index b3ce3933..ce72feda 100644 --- a/hm/soispha/conf/taskwarrior/default.nix +++ b/hm/soispha/conf/taskwarrior/default.nix @@ -92,7 +92,7 @@ }; color = true; - hooks.location="${config.xdg.configHome}/task/hooks"; + hooks.location = "${config.xdg.configHome}/task/hooks"; urgency.uda.priority = { H.coefficient = 6.0; diff --git a/hm/soispha/conf/taskwarrior/hooks/default.nix b/hm/soispha/conf/taskwarrior/hooks/default.nix index 31d97529..f8927cd1 100644 --- a/hm/soispha/conf/taskwarrior/hooks/default.nix +++ b/hm/soispha/conf/taskwarrior/hooks/default.nix @@ -79,9 +79,11 @@ builtins.listToAttrs (builtins.map mkSyncGitRepo ["on-add" "on-modify"]); hookPath = config.programs.taskwarrior.config.hooks.location; in { - home.file = { - "${hookPath}/on-add_enforce-policies".source = "${enforce_policies}/bin/bin"; - "${hookPath}/on-modify_track-timewarrior".source = "${track_timewarrior}/bin/bin"; - "${hookPath}/on-modify_track-total-active-time".source = "${track_total_active_time}/bin/bin"; - } // sync_git_repos; + home.file = + { + "${hookPath}/on-add_enforce-policies".source = "${enforce_policies}/bin/bin"; + "${hookPath}/on-modify_track-timewarrior".source = "${track_timewarrior}/bin/bin"; + "${hookPath}/on-modify_track-total-active-time".source = "${track_total_active_time}/bin/bin"; + } + // sync_git_repos; } |