iommu fixes and such

This commit is contained in:
2025-07-13 18:10:21 +02:00
parent 870db9fc08
commit c55fafc7c5
2 changed files with 8 additions and 3 deletions

View File

@@ -13,8 +13,8 @@
]; ];
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod"]; boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod"];
boot.initrd.kernelModules = []; boot.initrd.kernelModules = ["amdgpu"];
boot.kernelModules = ["amdgpu"]; boot.kernelModules = [];
boot.extraModulePackages = []; boot.extraModulePackages = [];
fileSystems."/" = { fileSystems."/" = {

View File

@@ -4,7 +4,12 @@
kernel = { kernel = {
variant = "latest"; variant = "latest";
hardware = ["intel"]; hardware = ["intel"];
extraKernelParams = ["fbcon=rotate:1"]; extraKernelParams = [
"fbcon=rotate:1"
"efi=keep_bootcon"
"amd_iommu=on"
"iommu=pt"
];
}; };
loader = { loader = {
default = { default = {