about summary refs log tree commit diff stats
path: root/hm/soispha/pkgs/scripts.nix
diff options
context:
space:
mode:
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";