From f3c0d5906ea17b108c1b21659460fea0efcbb9c6 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 20 Feb 2026 08:59:43 +0100 Subject: ... --- accounts/gkleen@sif/libvirt/default.nix | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'accounts') diff --git a/accounts/gkleen@sif/libvirt/default.nix b/accounts/gkleen@sif/libvirt/default.nix index bd398e88..868dddd5 100644 --- a/accounts/gkleen@sif/libvirt/default.nix +++ b/accounts/gkleen@sif/libvirt/default.nix @@ -16,8 +16,7 @@ in { swtpm.enable = true; connections."qemu:///session" = { domains = [ - { definition = domain.writeXML (updateManyAttrsByPath [ - ] (recursiveUpdate (domain.templates.windows { + { definition = domain.writeXML (recursiveUpdate (domain.templates.windows { name = "lmmirzm-vmrz01"; uuid = "9e1dab2e-7986-4cb3-88af-6fad8969e15f"; memory = { count = 16; unit = "GiB"; }; @@ -26,7 +25,9 @@ in { virtio_video = true; install_virtio = false; }) { - metadata = libosinfo "http://microsoft.com/win/11"; + metadata = [ + (libosinfo "http://microsoft.com/win/11") + ]; qemu-commandline.env = [ { name = "SPICE_DEBUG_ALLOW_MC"; value = "1"; } ]; @@ -66,7 +67,7 @@ in { } ]; devices.tpm.model = "tpm-tis"; - })); + }); } { definition = domain.writeXML (recursiveUpdate (domain.templates.linux { name = "vmrz02"; @@ -90,7 +91,9 @@ in { }; bootmenu.enable = true; }; - metadata = libosinfo "http://ubuntu.com/ubuntu/20.04"; + metadata = [ + (libosinfo "http://ubuntu.com/ubuntu/20.04") + ]; qemu-commandline.env = [ { name = "SPICE_DEBUG_ALLOW_MC"; value = "1"; } ]; @@ -167,7 +170,9 @@ in { }; bootmenu.enable = true; }; - metadata = libosinfo "http://ubuntu.com/ubuntu/24.04"; + metadata = [ + (libosinfo "http://ubuntu.com/ubuntu/24.04") + ]; qemu-commandline.env = [ { name = "SPICE_DEBUG_ALLOW_MC"; value = "1"; } ]; -- cgit v1.2.3