config: update image formats for more hosts

This commit is contained in:
Gabriel Arazas 2022-11-29 10:39:46 +08:00
parent 2c8f35500e
commit 38d8542875

View File

@ -339,7 +339,10 @@
hostSharedConfig hostSharedConfig
path 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 in
mkHost { inherit extraModules; }) mkHost { inherit extraModules; })
(lib'.filesToAttr ./hosts); (lib'.filesToAttr ./hosts);
@ -389,7 +392,9 @@
# purposes. # purposes.
images = { images = {
bootstrap.format = "install-iso"; bootstrap.format = "install-iso";
graphical-installer.format = "install-iso";
plover.format = "gce"; plover.format = "gce";
void.format = "vm";
}; };
in in
inputs.flake-utils.lib.flattenTree (import ./pkgs { inherit pkgs; }) inputs.flake-utils.lib.flattenTree (import ./pkgs { inherit pkgs; })