about summary refs log tree commit diff stats
path: root/hm/soispha/conf/taskwarrior/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-10-19 10:08:22 +0200
committerSoispha <soispha@vhack.eu>2023-10-19 10:08:22 +0200
commit74e1851a5868e69408758b250a987cdf48abb236 (patch)
treef9b3c274fc03d48f1825bd5056f060dcbc4d6461 /hm/soispha/conf/taskwarrior/default.nix
parentfix(hm/conf/taskwarrior/theme): Make the lowest priority readable (diff)
downloadnixos-config-74e1851a5868e69408758b250a987cdf48abb236.zip
feat(hm/conf/taskwarrior): Automatically save the task data in a git repo
Diffstat (limited to 'hm/soispha/conf/taskwarrior/default.nix')
-rw-r--r--hm/soispha/conf/taskwarrior/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/hm/soispha/conf/taskwarrior/default.nix b/hm/soispha/conf/taskwarrior/default.nix
index 53a548ad..b3ce3933 100644
--- a/hm/soispha/conf/taskwarrior/default.nix
+++ b/hm/soispha/conf/taskwarrior/default.nix
@@ -1,6 +1,7 @@
 {
   nixosConfig,
   lib,
+  config,
   ...
 }: {
   imports = [
@@ -91,6 +92,8 @@
       };
       color = true;
 
+      hooks.location="${config.xdg.configHome}/task/hooks";
+
       urgency.uda.priority = {
         H.coefficient = 6.0;
         M.coefficient = 0;