diff options
author | ene <ene@sils.li> | 2023-02-19 13:42:02 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-02-19 13:42:02 +0100 |
commit | 3077276d8bdc90894a0bdc6e6e9c9f7a69db0a63 (patch) | |
tree | 3136ccfae4af507933235e264e9eb49251355c70 | |
parent | Docs: Add new todo items (diff) | |
download | nixos-config-3077276d8bdc90894a0bdc6e6e9c9f7a69db0a63.tar.gz nixos-config-3077276d8bdc90894a0bdc6e6e9c9f7a69db0a63.zip |
Fix(bootstrap): Use a derivation
-rw-r--r-- | flake.nix | 4 |
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; }; |