about summary refs log tree commit diff stats
path: root/hm/soispha/conf/taskwarrior/hooks/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hm/soispha/conf/taskwarrior/hooks/default.nix')
-rw-r--r--hm/soispha/conf/taskwarrior/hooks/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/hm/soispha/conf/taskwarrior/hooks/default.nix b/hm/soispha/conf/taskwarrior/hooks/default.nix
index f2a6579c..a8ce09cc 100644
--- a/hm/soispha/conf/taskwarrior/hooks/default.nix
+++ b/hm/soispha/conf/taskwarrior/hooks/default.nix
@@ -29,6 +29,7 @@
   projects = lib.lists.unique (lib.lists.naturalSort (lib.lists.flatten (builtins.map mkProjectName (import ../projects {}))));
   projects_newline = builtins.concatStringsSep "\n" projects;
   projects_comma = builtins.concatStringsSep ", " projects;
+  projects_pipe = builtins.concatStringsSep "|" projects;
 
   enforce_policies = sysLib.writeShellScriptWithLibrary {
     name = "bin";
@@ -84,7 +85,7 @@ in {
   };
   config = {
     soispha.taskwarrior.projects = {
-      inherit projects_newline projects_comma projects;
+      inherit projects_newline projects_comma projects projects_pipe;
     };
     home.file =
       {