nixos-config/setups/nixos.nix
2023-12-23 20:26:40 +08:00

48 lines
1.1 KiB
Nix

# This is a custom data for this project where it lists the images found in
# this flake. This can range from NixOS configurations intended to be deployed
# for servers and desktops to installers.
#
# The data is then used for the image creation functions found in `flake.nix`.
# Each of the entry should correspond to one of the hosts in `./hosts/`
# directory.
{ lib, inputs }:
{
ni = {
systems = [ "x86_64-linux" ];
format = "iso";
};
plover = {
systems = [ "x86_64-linux" ];
format = "iso";
domain = "foodogsquared.one";
deploy = {
hostname = "plover.foodogsquared.one";
auto-rollback = true;
magic-rollback = true;
};
};
void = {
systems = [ "x86_64-linux" ];
format = "vm";
};
bootstrap = {
systems = [ "aarch64-linux" "x86_64-linux" ];
format = "install-iso";
nixpkgs-channel = "nixos-unstable-small";
};
graphical-installer = {
systems = [ "aarch64-linux" "x86_64-linux" ];
format = "install-iso";
};
winnowing = {
systems = [ "x86_64-linux" ];
format = "iso";
};
}