From 14a0a355edf1d4d1053929d10eeb04aa069e9c33 Mon Sep 17 00:00:00 2001 From: Dmitriy Kholkin Date: Wed, 12 Feb 2025 21:55:40 +0300 Subject: [PATCH] remove old vm and fix new --- machines/AMD-Workstation/default.nix | 8 +- machines/AMD-Workstation/vm/win10.xml | 227 ---------------------- machines/AMD-Workstation/vm/win10code.xml | 4 +- machines/AMD-Workstation/vm/win10ed.xml | 4 +- modules/libvirt-guests.nix | 6 +- 5 files changed, 8 insertions(+), 241 deletions(-) delete mode 100644 machines/AMD-Workstation/vm/win10.xml 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 - - - - -
- - - - - -
- - - - - -
- - -
- - - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - - -
- - -
- - -
- - -
- - - - - - - - -
- - - - - - -
- - - - - - - - - - - -
- - -
- - - - - - - - - -
- -