From 0c1b23337f7b1344fbe337481da4d1e2a0f10b60 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Thu, 7 May 2026 14:27:35 +0100 Subject: [PATCH] Revert "libvirtd: KVM stack on FredOS-Gaming for Win11 guest" This reverts db69615. Not pursuing the Windows-VM workaround for the DR client mod after all. The server-side AdminCommandHandler exposes a LevelSelf channel that bypasses the DLL flow entirely, which is a better path than running a whole guest OS for one game. Co-Authored-By: Claude Opus 4.7 --- common.nix | 1 - services/libvirtd.nix | 29 ----------------------------- 2 files changed, 30 deletions(-) delete mode 100644 services/libvirtd.nix diff --git a/common.nix b/common.nix index 69157cc..ac47cfc 100644 --- a/common.nix +++ b/common.nix @@ -20,7 +20,6 @@ ./services/server-permissions.nix ./services/game-servers.nix ./services/dr-server.nix - ./services/libvirtd.nix ./services/qbittorrent-nox.nix ./services/nginx.nix ./services/go2rtc.nix diff --git a/services/libvirtd.nix b/services/libvirtd.nix deleted file mode 100644 index c820710..0000000 --- a/services/libvirtd.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ config, pkgs, lib, ... }: -{ - config = lib.mkIf (config.networking.hostName == "FredOS-Gaming") { - # KVM-based VM stack for running a Windows guest (mainly: the DR client - # mod is wine-incompatible and has to run on real Windows). virt-manager - # is the GUI; OVMFFull provides UEFI firmware with the Secure Boot bits - # Win11 needs, and swtpm gives the guest a software TPM 2.0 to satisfy - # Win11's install check. - virtualisation.libvirtd = { - enable = true; - qemu = { - swtpm.enable = true; - ovmf = { - enable = true; - packages = [ pkgs.OVMFFull.fd ]; - }; - }; - }; - - programs.virt-manager.enable = true; - - users.users.fred.extraGroups = [ "libvirtd" ]; - - environment.systemPackages = with pkgs; [ - virt-viewer - virtio-win - ]; - }; -}