Add kernelModules and kernelParameters

This commit is contained in:
2025-04-13 20:35:12 -04:00
parent d2297713af
commit 032b527d2e

View File

@@ -29,8 +29,17 @@ in
};
boot = {
kernelModules = [ "kvm-amd" ];
kernelModules = [
"kvm-amd"
"vfio_pci"
"vfio"
"vfio_iommu_type1"
"vfio_virqfd"
];
kernelPackages = pkgs.linuxPackages_latest;
kernelParams = [
"amd_iommu=on"
];
loader = {
efi.canTouchEfiVariables = true;