diff --git a/machines/AMD-Workstation/default.nix b/machines/AMD-Workstation/default.nix
index 32b20bb..e0cb60f 100644
--- a/machines/AMD-Workstation/default.nix
+++ b/machines/AMD-Workstation/default.nix
@@ -32,14 +32,8 @@
security.pki.certificateFiles = [ ../../misc/mitmproxy-ca-cert.pem ];
virtualisation.libvirt.guests = {
- win10 = {
- autoStart = false;
- user = config.mainuser;
- group = "libvirtd";
- xmlFile = ./vm/win10.xml;
- };
win10code = {
- autoStart = true;
+ autoStart = false;
user = config.mainuser;
group = "libvirtd";
xmlFile = ./vm/win10code.xml;
diff --git a/machines/AMD-Workstation/vm/win10.xml b/machines/AMD-Workstation/vm/win10.xml
deleted file mode 100644
index 7e79c8f..0000000
--- a/machines/AMD-Workstation/vm/win10.xml
+++ /dev/null
@@ -1,227 +0,0 @@
-
- win10
- 1a5ec2e0-bf62-480a-8ebd-f17f66c7c4bf
-
-
-
-
-
- 8388608
- 2097152
-
-
-
-
- 8
-
- /machine
-
-
- hvm
- /run/libvirt/nix-ovmf/OVMF_CODE.fd
- /var/lib/libvirt/qemu/nvram/win10_VARS.fd
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- destroy
- restart
- destroy
-
-
-
-
-
- /run/libvirt/nix-emulators/qemu-system-x86_64
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- /dev/urandom
-
-
-
-
-
diff --git a/machines/AMD-Workstation/vm/win10code.xml b/machines/AMD-Workstation/vm/win10code.xml
index 0b1641e..4a2ed20 100644
--- a/machines/AMD-Workstation/vm/win10code.xml
+++ b/machines/AMD-Workstation/vm/win10code.xml
@@ -17,9 +17,9 @@
/machine
- hvm
+ hvm
/run/libvirt/nix-ovmf/OVMF_CODE.fd
- /var/lib/libvirt/qemu/nvram/win10code_VARS.fd
+ /var/lib/libvirt/qemu/nvram/win10code_VARS.fd
diff --git a/machines/AMD-Workstation/vm/win10ed.xml b/machines/AMD-Workstation/vm/win10ed.xml
index 4fb58f5..e986332 100644
--- a/machines/AMD-Workstation/vm/win10ed.xml
+++ b/machines/AMD-Workstation/vm/win10ed.xml
@@ -17,9 +17,9 @@
/machine
- hvm
+ hvm
/run/libvirt/nix-ovmf/OVMF_CODE.fd
- /var/lib/libvirt/qemu/nvram/win10ed_VARS.fd
+ /var/lib/libvirt/qemu/nvram/win10ed_VARS.fd
diff --git a/modules/libvirt-guests.nix b/modules/libvirt-guests.nix
index 8a6b1c1..9335562 100644
--- a/modules/libvirt-guests.nix
+++ b/modules/libvirt-guests.nix
@@ -240,11 +240,11 @@ in {
toString (sockets * cores * threads)
}
- hvm
+ hvm
${
lib.optionalString guest.uefi ''
- /run/libvirt/nix-ovmf/OVMF_CODE.fd
- /var/lib/libvirt/qemu/nvram/${name}_VARS.fd
+ /run/libvirt/nix-ovmf/OVMF_CODE.fd
+ /var/lib/libvirt/qemu/nvram/${name}_VARS.fd
''
}