Add valkyrie host
This commit is contained in:
parent
9cf5bd0469
commit
667b1c256b
12 changed files with 211 additions and 26 deletions
16
flake.nix
16
flake.nix
|
@ -26,13 +26,15 @@
|
|||
nodeNixpkgs = builtins.mapAttrs (name: host: host.pkgs) hosts;
|
||||
|
||||
specialArgs = {
|
||||
inherit hosts simple-nixos-mailserver;
|
||||
inherit nixpkgs-unstable hosts simple-nixos-mailserver;
|
||||
};
|
||||
};
|
||||
} // builtins.mapAttrs (helper.generateColmenaHost) hosts;
|
||||
|
||||
hydraJobs = {
|
||||
nixConfigurations = builtins.mapAttrs (host: helper.generateNixConfiguration host { inherit hosts simple-nixos-mailserver; }) hosts;
|
||||
nixConfigurations = builtins.mapAttrs (
|
||||
host: helper.generateNixConfiguration host { inherit nixpkgs-unstable hosts simple-nixos-mailserver; }
|
||||
) hosts;
|
||||
};
|
||||
|
||||
# Generate a base VM image for Proxmox with `nix build .#base-proxmox`
|
||||
|
@ -42,10 +44,20 @@
|
|||
modules = [
|
||||
./config/common
|
||||
./config/nixos-generators
|
||||
./config/nixos-generators/proxmox.nix
|
||||
./config/environments/proxmox-vm
|
||||
];
|
||||
format = "proxmox";
|
||||
};
|
||||
base-openstack = nixos-generators.nixosGenerate {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./config/common
|
||||
./config/nixos-generators
|
||||
./config/environments/openstack-vm
|
||||
];
|
||||
format = "openstack";
|
||||
};
|
||||
};
|
||||
|
||||
# Binary cache hint
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue