From ff88fe87c04752240ec4b7e05aceeaa469344b12 Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Sun, 23 Nov 2025 23:36:31 +0100 Subject: [PATCH] hardware-configuration: do not autoload kvm modules kvm kernel modules clash with the VirtualBox one when accessing hardware accelleration. Maybe the kvm module is even loaded automatically when required, but even if that is not the case I am currently still using VirtualBox more often than KVM-based virtualisation. --- hosts/framenix/hardware-configuration.nix | 2 +- hosts/thinknix/hardware-configuration.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/framenix/hardware-configuration.nix b/hosts/framenix/hardware-configuration.nix index b9295b2..868c352 100644 --- a/hosts/framenix/hardware-configuration.nix +++ b/hosts/framenix/hardware-configuration.nix @@ -19,7 +19,7 @@ "sd_mod" ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; + boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking diff --git a/hosts/thinknix/hardware-configuration.nix b/hosts/thinknix/hardware-configuration.nix index 74708b5..5ad4ef8 100644 --- a/hosts/thinknix/hardware-configuration.nix +++ b/hosts/thinknix/hardware-configuration.nix @@ -17,7 +17,7 @@ "sd_mod" "rtsx_pci_sdmmc" ]; - boot.kernelModules = [ "kvm-intel" ]; + boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; nix.settings.max-jobs = lib.mkDefault 4;