nix-infra/config/nixos-generators/proxmox-chaosknoten.nix

22 lines
496 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
{
proxmox = {
qemuConf = {
name = "Template-Chaosknoten-NixOS-${config.system.nixos.release}";
boot = "order=virtio0";
cores = 4;
memory = 1024;
virtio0 = "local-zfs:vm-9999-disk-0,discard=on";
additionalSpace = "16G";
bios = "ovmf";
net0 = "virtio=00:00:00:00:00:00,bridge=vmbr4,firewall=1";
};
qemuExtraConf = {
cpu = "cputype=host,flags=+aes";
machine = "q35";
template = 1;
};
};
}