From e13abf01c7fdd612f1ff826387dac2ca30623d00 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 20 Nov 2024 10:17:37 +0100 Subject: ... --- accounts/gkleen@sif/libvirt/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'accounts/gkleen@sif/libvirt') diff --git a/accounts/gkleen@sif/libvirt/default.nix b/accounts/gkleen@sif/libvirt/default.nix index 14480d55..f86a68a2 100644 --- a/accounts/gkleen@sif/libvirt/default.nix +++ b/accounts/gkleen@sif/libvirt/default.nix @@ -9,7 +9,8 @@ with flakeInputs.nixVirt.lib; enable = true; connections."qemu:///session" = { domains = [ - { definition = domain.writeXML (recursiveUpdate (domain.templates.windows { + { definition = domain.writeXML (updateManyAttrsByPath [ + ] (recursiveUpdate (domain.templates.windows { name = "lmmirzm-vmrz01"; uuid = "9e1dab2e-7986-4cb3-88af-6fad8969e15f"; memory = { count = 16; unit = "GiB"; }; @@ -48,7 +49,7 @@ with flakeInputs.nixVirt.lib; } ]; devices.tpm.model = "tpm-tis"; - }); + })); } { definition = domain.writeXML (recursiveUpdate (domain.templates.linux { name = "vmrz02"; -- cgit v1.2.3