about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-10-19 13:08:19 +0200
committerSoispha <soispha@vhack.eu>2023-10-19 13:08:19 +0200
commitedc46b9b5c3fe781245b12ca709d2d36bea4bfd7 (patch)
tree15017e9407b063ee0431a38c7dbbcb0626e3a145
parentbuild(treewide): Update (diff)
downloadnixos-config-edc46b9b5c3fe781245b12ca709d2d36bea4bfd7.tar.gz
nixos-config-edc46b9b5c3fe781245b12ca709d2d36bea4bfd7.zip
style(hm/conf/taskwarrior): Format
-rw-r--r--hm/soispha/conf/taskwarrior/default.nix2
-rw-r--r--hm/soispha/conf/taskwarrior/hooks/default.nix12
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;
 }