about summary refs log tree commit diff stats
path: root/bootstrap/activate/default.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-20 08:48:00 +0100
committerene <ene@sils.li>2023-02-20 10:36:51 +0100
commit4aa5f378d2e3f6cb570ec85daa17115097a8d371 (patch)
treea79fddc156ed2a8e8b4dc0684fe9773566f1760e /bootstrap/activate/default.nix
parentFeat(flake): Reorder hosts (diff)
downloadnixos-config-4aa5f378d2e3f6cb570ec85daa17115097a8d371.zip
Feat(bootstrap): Add a script for quick activation
Diffstat (limited to 'bootstrap/activate/default.nix')
-rw-r--r--bootstrap/activate/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/bootstrap/activate/default.nix b/bootstrap/activate/default.nix
new file mode 100644
index 00000000..2c410f09
--- /dev/null
+++ b/bootstrap/activate/default.nix
@@ -0,0 +1,12 @@
+# vim: ts=2
+{
+  pkgs,
+  shell-library,
+  ...
+}: let
+  dependencies = with pkgs; [jq dash];
+  name = "activate";
+  script = ./activate.sh;
+  lib = import ../../lib {inherit pkgs shell-library;};
+in
+  lib.makeShellScriptWithLibrary {inherit dependencies name script;}