about summary refs log tree commit diff stats
path: root/bootstrap
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 /bootstrap
parentDocs(todo): Update (diff)
downloadnixos-config-fb206f9be18b4936ef716935c2343531acaf92c2.tar.gz
nixos-config-fb206f9be18b4936ef716935c2343531acaf92c2.zip
Refactor(treewide): Use separate shell library
Diffstat (limited to '')
-rw-r--r--bootstrap/activate/default.nix5
-rw-r--r--bootstrap/config_setup/default.nix5
-rw-r--r--bootstrap/install/default.nix5
-rw-r--r--bootstrap/setup/default.nix5
4 files changed, 8 insertions, 12 deletions
diff --git a/bootstrap/activate/default.nix b/bootstrap/activate/default.nix
index 9d01e57a..c60d8e73 100644
--- a/bootstrap/activate/default.nix
+++ b/bootstrap/activate/default.nix
@@ -1,12 +1,11 @@
 # vim: ts=2
 {
   pkgs,
-  shell-library,
+  sysLib,
   ...
 }: let
   dependencies = builtins.attrValues {inherit (pkgs) jq gawk curl coreutils libuuid nix git;};
   name = "activate";
   script = ./activate.sh;
-  lib = import ../../lib {inherit pkgs shell-library;};
 in
-  lib.makeShellScriptWithLibrary {inherit dependencies name script;}
+  sysLib.makeShellScriptWithLibrary {inherit dependencies name script;}
diff --git a/bootstrap/config_setup/default.nix b/bootstrap/config_setup/default.nix
index 19ee84dc..20de9542 100644
--- a/bootstrap/config_setup/default.nix
+++ b/bootstrap/config_setup/default.nix
@@ -1,12 +1,11 @@
 # vim: ts=2
 {
   pkgs,
-  shell-library,
+  sysLib,
   ...
 }: let
   dependencies = builtins.attrValues {inherit (pkgs) git neovim;};
   name = "config_setup";
   script = ./config_setup.sh;
-  lib = import ../../lib {inherit pkgs shell-library;};
 in
-  lib.makeShellScriptWithLibrary {inherit dependencies name script;}
+  sysLib.makeShellScriptWithLibrary {inherit dependencies name script;}
diff --git a/bootstrap/install/default.nix b/bootstrap/install/default.nix
index 71548e90..054c28ec 100644
--- a/bootstrap/install/default.nix
+++ b/bootstrap/install/default.nix
@@ -1,12 +1,11 @@
 # vim: ts=2
 {
   pkgs,
-  shell-library,
+  sysLib,
   ...
 }: let
   dependencies = builtins.attrValues {inherit (pkgs) jq dash curl gawk btrfs-progs coreutils libuuid gptfdisk dosfstools toybox nix git;};
   name = "install";
   script = ./install.sh;
-  lib = import ../../lib {inherit pkgs shell-library;};
 in
-  lib.makeShellScriptWithLibrary {inherit dependencies name script;}
+  sysLib.makeShellScriptWithLibrary {inherit dependencies name script;}
diff --git a/bootstrap/setup/default.nix b/bootstrap/setup/default.nix
index b6d925a2..b32a822b 100644
--- a/bootstrap/setup/default.nix
+++ b/bootstrap/setup/default.nix
@@ -1,12 +1,11 @@
 # vim: ts=2
 {
   pkgs,
-  shell-library,
+  sysLib,
   ...
 }: let
   dependencies = builtins.attrValues {inherit (pkgs) dash gawk curl git nix gnugrep nixos-install-tools coreutils libuuid;};
   name = "setup";
   script = ./setup.sh;
-  lib = import ../../lib {inherit pkgs shell-library;};
 in
-  lib.makeShellScriptWithLibrary {inherit dependencies name script;}
+  sysLib.makeShellScriptWithLibrary {inherit dependencies name script;}