2023-10-07 03:13:22 +02:00
|
|
|
{ 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";
|
2024-01-13 20:17:40 +01:00
|
|
|
additionalSpace = "16G";
|
2023-10-07 03:13:22 +02:00
|
|
|
bios = "ovmf";
|
|
|
|
net0 = "virtio=00:00:00:00:00:00,bridge=vmbr4,firewall=1";
|
|
|
|
};
|
|
|
|
qemuExtraConf = {
|
|
|
|
cpu = "cputype=host,flags=+aes";
|
|
|
|
machine = "q35";
|
|
|
|
template = 1;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|