about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/default.nix
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2024-02-24 14:59:50 +0100
committerSoispha <soispha@vhack.eu>2024-02-24 15:04:49 +0100
commit8284b6a7b4d212913083b003a819fda8d4931d4d (patch)
tree1a41cb60fe64f3f9b1a8c33bd2895ad419366cb5 /sys/nixpkgs/pkgs/default.nix
parentfix(hm/pkgs/git-update-index): Remove '--' from help text (diff)
downloadnixos-config-8284b6a7b4d212913083b003a819fda8d4931d4d.zip
refactor(hm/pkgs): Implement with an nixpkgs overlay
Diffstat (limited to 'sys/nixpkgs/pkgs/default.nix')
-rw-r--r--sys/nixpkgs/pkgs/default.nix18
1 files changed, 12 insertions, 6 deletions
diff --git a/sys/nixpkgs/pkgs/default.nix b/sys/nixpkgs/pkgs/default.nix
index 25bb746a..c5959bb4 100644
--- a/sys/nixpkgs/pkgs/default.nix
+++ b/sys/nixpkgs/pkgs/default.nix
@@ -1,16 +1,22 @@
-{sysLib}: let
-  snap-sync-forked = (import ./snap-sync-forked) {inherit sysLib;};
+{
+  config,
+  sysLib,
+}: let
+  comments = import ./comments;
   nvim_plugs = import ./plgs-pkgs;
+  scripts = import ./scripts {inherit sysLib config;};
+  snap-sync-forked = (import ./snap-sync-forked) {inherit sysLib;};
   update_vim_plugins = import ./update_vim_plugins;
   yt = import ./yt;
-  comments = import ./comments;
   yts-grammar = import ./tree-sitter-yts;
+
   overlays =
-    snap-sync-forked
+    comments
     ++ nvim_plugs
+    ++ scripts
+    ++ snap-sync-forked
     ++ update_vim_plugins
     ++ yt
-    ++ yts-grammar
-    ++ comments;
+    ++ yts-grammar;
 in
   overlays