about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--flake/nixosConfigurations/default.nix9
-rw-r--r--home-manager/config/zsh/default.nix4
2 files changed, 8 insertions, 5 deletions
diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix
index 4993d6a5..8b4eb3e6 100644
--- a/flake/nixosConfigurations/default.nix
+++ b/flake/nixosConfigurations/default.nix
@@ -17,26 +17,27 @@
           pkgs
           sysLib
           # extra information
-          
+
           system
           ;
 
         inherit
           (inputs)
           # bins
-          
+
           yambar_cpu
           yambar_memory
           strip_js_comments
           river_init_lesser
           grades
+          shell-library
           # external deps
-          
+
           user_js
           neovim_config
           snap-sync
           # modules
-          
+
           impermanence
           ;
       };
diff --git a/home-manager/config/zsh/default.nix b/home-manager/config/zsh/default.nix
index 346d81d2..5f7a7a86 100644
--- a/home-manager/config/zsh/default.nix
+++ b/home-manager/config/zsh/default.nix
@@ -2,6 +2,7 @@
   config,
   pkgs,
   lib,
+  shell-library,
   ...
 }: {
   # TODO ADD THIS ADDON
@@ -70,7 +71,8 @@
       builtins.readFile ./config/zsh-init.sh
       + builtins.readFile ./config/zsh-prompt.sh
       + builtins.readFile ./config/custom_cursor.sh
-      + builtins.readFile "${pkgs.fzf}/share/fzf/key-bindings.zsh";
+      + builtins.readFile "${pkgs.fzf}/share/fzf/key-bindings.zsh"
+      + "source ${shell-library}/lib";
     shellAliases = {
       ls = "ls -a --color=auto";
       ll = ". ll";