about summary refs log tree commit diff stats
path: root/flake
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-04-29 17:31:00 +0200
committerSoispha <soispha@vhack.eu>2023-05-09 19:32:58 +0200
commitfb206f9be18b4936ef716935c2343531acaf92c2 (patch)
tree88a86e5ae9f27a050d22397cc2d991a8b9e9b70b /flake
parentDocs(todo): Update (diff)
downloadnixos-config-fb206f9be18b4936ef716935c2343531acaf92c2.tar.gz
nixos-config-fb206f9be18b4936ef716935c2343531acaf92c2.zip
Refactor(treewide): Use separate shell library
Diffstat (limited to 'flake')
-rw-r--r--flake/default.nix24
-rw-r--r--flake/nixosConfigurations/default.nix2
-rw-r--r--flake/packages/default.nix11
3 files changed, 19 insertions, 18 deletions
diff --git a/flake/default.nix b/flake/default.nix
index 0af0c127..cb090466 100644
--- a/flake/default.nix
+++ b/flake/default.nix
@@ -19,7 +19,7 @@
   # my binaries
   video_pause,
   strip_js_comments,
-  shell-library,
+  shell_library,
   river_init_lesser,
   yambar_memory,
   yambar_cpu,
@@ -35,24 +35,24 @@
           pkgs
           sysLib
           # extra information
-          
+
           system
           # bins
-          
+
           video_pause
           yambar_cpu
           yambar_memory
           strip_js_comments
           river_init_lesser
           grades
-          shell-library
+          shell_library
           # external deps
-          
+
           user_js
           neovim_config
           snap-sync
           # modules
-          
+
           impermanence
           ;
       };
@@ -83,32 +83,32 @@ in {
       nixpkgs
       sysLib
       # configs
-      
+
       defaultModules
       defaultSpecialArgs
       # bins
-      
+
       video_pause
       yambar_cpu
       yambar_memory
       strip_js_comments
       river_init_lesser
       grades
-      shell-library
+      shell_library
       # external deps
-      
+
       user_js
       neovim_config
       snap-sync
       templates
       # modules
-      
+
       impermanence
       home-manager
       agenix
       ;
   };
-  packages."${system}" = import ./packages {inherit nixos-generators defaultSpecialArgs pkgs shell-library;};
+  packages."${system}" = import ./packages {inherit nixos-generators defaultSpecialArgs pkgs sysLib;};
 
   apps."${system}" = import ./apps {inherit self system;};
 
diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix
index 0698da76..0c7ada1a 100644
--- a/flake/nixosConfigurations/default.nix
+++ b/flake/nixosConfigurations/default.nix
@@ -14,7 +14,7 @@
   strip_js_comments,
   river_init_lesser,
   grades,
-  shell-library,
+  shell_library,
   # external deps
   user_js,
   neovim_config,
diff --git a/flake/packages/default.nix b/flake/packages/default.nix
index 470ea05c..a7274aeb 100644
--- a/flake/packages/default.nix
+++ b/flake/packages/default.nix
@@ -1,8 +1,9 @@
+# vim: ts=2
 {
   nixos-generators,
   defaultSpecialArgs,
   pkgs,
-  shell-library,
+  sysLib,
   ...
 }: {
   iso = nixos-generators.nixosGenerate {
@@ -16,25 +17,25 @@
   install = import ../../bootstrap/install {
     inherit
       pkgs
-      shell-library
+  sysLib
       ;
   };
   activate = import ../../bootstrap/activate {
     inherit
       pkgs
-      shell-library
+  sysLib
       ;
   };
   setup = import ../../bootstrap/setup {
     inherit
       pkgs
-      shell-library
+  sysLib
       ;
   };
   config_setup = import ../../bootstrap/config_setup {
     inherit
       pkgs
-      shell-library
+  sysLib
       ;
   };
 }