From 38d8542875a5060543d6d8fbd7e6841793b271c8 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 29 Nov 2022 10:39:46 +0800 Subject: [PATCH] config: update image formats for more hosts --- flake.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index ffc88d45..399c0600 100644 --- a/flake.nix +++ b/flake.nix @@ -339,7 +339,10 @@ hostSharedConfig path ] - ++ lib'.optional (host' == "plover") inputs.nixos-generators.nixosModules.gce; + ++ lib'.optional (host' == "bootstrap") inputs.nixos-generators.nixosModules.install-iso + ++ lib'.optional (host' == "graphical-installer") inputs.nixos-generators.nixosModules.install-iso + ++ lib'.optional (host' == "plover") inputs.nixos-generators.nixosModules.gce + ++ lib'.optional (host' == "void") inputs.nixos-generators.nixosModules.vm; in mkHost { inherit extraModules; }) (lib'.filesToAttr ./hosts); @@ -389,7 +392,9 @@ # purposes. images = { bootstrap.format = "install-iso"; + graphical-installer.format = "install-iso"; plover.format = "gce"; + void.format = "vm"; }; in inputs.flake-utils.lib.flattenTree (import ./pkgs { inherit pkgs; })