21 lines
465 B
Nix
21 lines
465 B
Nix
|
{ 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";
|
||
|
bios = "ovmf";
|
||
|
net0 = "virtio=00:00:00:00:00:00,bridge=vmbr4,firewall=1";
|
||
|
};
|
||
|
qemuExtraConf = {
|
||
|
cpu = "cputype=host,flags=+aes";
|
||
|
machine = "q35";
|
||
|
template = 1;
|
||
|
};
|
||
|
};
|
||
|
}
|