about summary refs log tree commit diff stats
path: root/hm/soispha/pkgs/scripts.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-10-01 14:25:53 +0200
committerSoispha <soispha@vhack.eu>2023-10-01 14:54:38 +0200
commit7d56f48413c18b010450893e03809d37586aee3a (patch)
tree2feac0592c7be82eabf94897d1a3e17e93e0dfb6 /hm/soispha/pkgs/scripts.nix
parentstyle(hm/pkgs/scripts): Reorder alphabetically (diff)
downloadnixos-config-7d56f48413c18b010450893e03809d37586aee3a.zip
feat(hm/pkgs/scrs/neorg): Add support for opening current task context
Diffstat (limited to 'hm/soispha/pkgs/scripts.nix')
-rw-r--r--hm/soispha/pkgs/scripts.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/hm/soispha/pkgs/scripts.nix b/hm/soispha/pkgs/scripts.nix
index 837949be..e36ae62e 100644
--- a/hm/soispha/pkgs/scripts.nix
+++ b/hm/soispha/pkgs/scripts.nix
@@ -1,6 +1,7 @@
 {
   pkgs,
   sysLib,
+  config,
   ...
 }: let
   write_script = {
@@ -48,6 +49,10 @@
     name = "neorg";
     src = ./scripts/wrappers/neorg;
     dependencies = [];
+    replacementStrings = {
+      DEFAULT_NEORG_PROJECT_DIR =
+        config.programs.nixvim.plugins.neorg.modules."core.dirman".config.workspaces.projects;
+    };
   };
   update-sys-scr = write_script {
     name = "update-sys";