From edc46b9b5c3fe781245b12ca709d2d36bea4bfd7 Mon Sep 17 00:00:00 2001 From: Soispha Date: Thu, 19 Oct 2023 13:08:19 +0200 Subject: style(hm/conf/taskwarrior): Format --- hm/soispha/conf/taskwarrior/default.nix | 2 +- hm/soispha/conf/taskwarrior/hooks/default.nix | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'hm/soispha/conf') 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; } -- cgit 1.4.1