about summary refs log tree commit diff stats
path: root/flake.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-02-19 13:42:02 +0100
committerene <ene@sils.li>2023-02-19 13:42:02 +0100
commit3077276d8bdc90894a0bdc6e6e9c9f7a69db0a63 (patch)
tree3136ccfae4af507933235e264e9eb49251355c70 /flake.nix
parentDocs: Add new todo items (diff)
downloadnixos-config-3077276d8bdc90894a0bdc6e6e9c9f7a69db0a63.tar.gz
nixos-config-3077276d8bdc90894a0bdc6e6e9c9f7a69db0a63.zip
Fix(bootstrap): Use a derivation
Diffstat (limited to 'flake.nix')
-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;
   };