From fad20a4616bde4ffd6abcb3de10ec1d46d8ee5da Mon Sep 17 00:00:00 2001 From: caem Date: Thu, 27 Jun 2024 21:17:04 +0200 Subject: [PATCH] kvm --- machines/workstation/hardware-configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/machines/workstation/hardware-configuration.nix b/machines/workstation/hardware-configuration.nix index 4818886..bcf2941 100644 --- a/machines/workstation/hardware-configuration.nix +++ b/machines/workstation/hardware-configuration.nix @@ -37,10 +37,10 @@ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; + boot.kernelModules = [ "kvm-amd" "kvm-intel" ]; boot.extraModulePackages = [ ]; + extraModprobeConfig = "options kvm_amd nested=1"; boot.kernelParams = [ - "nvidia.NVreg_PreserveVideoMemoryAllocations=1" "nvidia_drm.fbdev=1" ];