about summary refs log tree commit diff stats
path: root/flake
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-19 13:35:40 +0100
committerene <ene@sils.li>2023-02-19 13:35:40 +0100
commit4d47089b4bd7f6101e258852cf9c35230bd1c89b (patch)
treee46c5305ca2a1dc070e5a3d1d44c5e81b835f9bf /flake
parentFeat: Add 'spawn' host, to simply create a bootable base (diff)
downloadnixos-config-4d47089b4bd7f6101e258852cf9c35230bd1c89b.zip
Feat(bootstrap): Add a Script to make nix run with bootstrap viable
Diffstat (limited to '')
-rw-r--r--flake.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index c8bca3af..ce5b2e84 100644
--- a/flake.nix
+++ b/flake.nix
@@ -80,5 +80,11 @@
       specialArgs = inputs;
       modules = [./hosts/spawn/configuration.nix];
     };
+
+    apps."x86_64-linux"."install" = {
+      type = "app";
+      program = ./bootstrap;
+    };
+    apps."x86_64-linux".default = self.apps."x86_64-linux".install;
   };
 }