about summary refs log tree commit diff stats
path: root/hm/soispha/pkgs/scripts.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-01-13 12:04:52 +0100
committerSoispha <soispha@vhack.eu>2024-01-13 12:04:52 +0100
commit94b2cdc6a17920cfb2bcad6c1172f4d513411daa (patch)
tree941e651cbd4adffacefed544f12817a333a67b61 /hm/soispha/pkgs/scripts.nix
parentfeat(hm/conf/less): Configure the full lesskey file (diff)
downloadnixos-config-94b2cdc6a17920cfb2bcad6c1172f4d513411daa.zip
refactor(hm/pkgs/scrs/specific/neorg/sh): Split the script into sub-scripts
Diffstat (limited to 'hm/soispha/pkgs/scripts.nix')
-rw-r--r--hm/soispha/pkgs/scripts.nix16
1 files changed, 15 insertions, 1 deletions
diff --git a/hm/soispha/pkgs/scripts.nix b/hm/soispha/pkgs/scripts.nix
index 944787c7..32902ec4 100644
--- a/hm/soispha/pkgs/scripts.nix
+++ b/hm/soispha/pkgs/scripts.nix
@@ -104,8 +104,22 @@
   };
   neorg-scr = sysLib.writeShellScript {
     name = "neorg";
-    src = ./scripts/specific/neorg/neorg;
     keep_path = true;
+    src = ./scripts/specific/neorg/sh;
+    multi_part_base = "main";
+    multi_part = true;
+    multi_part_prefix = "functions";
+    multi_part_names = [
+      "add"
+      "context"
+      "dmenu"
+      "f_start"
+      "f_stop"
+      "list"
+      "project"
+      "utils"
+      "workspace"
+    ];
     dependencies = with pkgs; [
       cocogitto
       git-crypt