forked from CCCHH/nix-infra
June
34f5a8b229
See here for the PR introducing the option: https://github.com/NixOS/nixpkgs/pull/238735
22 lines
496 B
Nix
22 lines
496 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";
|
|
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;
|
|
};
|
|
};
|
|
}
|