{ flakeInputs, lib, ... }: with lib; with flakeInputs.nixVirt.lib; { config = { virtualisation.libvirt = { enable = true; connections."qemu:///session" = { domains = [ { definition = domain.writeXML (recursiveUpdate (domain.templates.windows { name = "lmmirzm-vmrz01"; uuid = "9e1dab2e-7986-4cb3-88af-6fad8969e15f"; memory = { count = 16; unit = "GiB"; }; storage_vol = "/home/gkleen/.local/share/libvirt/images/lmmirzm-vmrz01.qcow2"; nvram_path = "/home/gkleen/.local/share/libvirt/lmmirzm-vmrz01.nvram"; virtio_net = true; virtio_drive = true; virtio_video = false; install_virtio = true; }) { vcpu.count = 4; os.bootmenu.enable = true; devices.graphics = { listen.type = "address"; # gl.enable = true; }; devices.interface = { type = "bridge"; mac.address = "52:54:00:b9:f3:ed"; source.bridge = "gre-0971"; }; }); } ]; pools = [ { definition = ./pool-default.xml; active = true; volumes = [ { definition = ./vol-lmmirzm-vmrz01.xml; } ]; } ]; }; }; }; }