about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--flake.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index ce5b2e84..c23d7e32 100644
--- a/flake.nix
+++ b/flake.nix
@@ -81,9 +81,11 @@
       modules = [./hosts/spawn/configuration.nix];
     };
 
+    packages."x86_64-linux".default = import ./bootstrap;
+
     apps."x86_64-linux"."install" = {
       type = "app";
-      program = ./bootstrap;
+      program = "${self.packages."x86_64-linux".default}";
     };
     apps."x86_64-linux".default = self.apps."x86_64-linux".install;
   };