From c55fafc7c59d4a94dcd4fcdb7f48bc6c15982770 Mon Sep 17 00:00:00 2001 From: cnst Date: Sun, 13 Jul 2025 18:10:21 +0200 Subject: [PATCH] iommu fixes and such --- hosts/sobotka/hardware-configuration.nix | 4 ++-- hosts/sobotka/modules.nix | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/hosts/sobotka/hardware-configuration.nix b/hosts/sobotka/hardware-configuration.nix index fabc3d3c..be0b25df 100644 --- a/hosts/sobotka/hardware-configuration.nix +++ b/hosts/sobotka/hardware-configuration.nix @@ -13,8 +13,8 @@ ]; boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod"]; - boot.initrd.kernelModules = []; - boot.kernelModules = ["amdgpu"]; + boot.initrd.kernelModules = ["amdgpu"]; + boot.kernelModules = []; boot.extraModulePackages = []; fileSystems."/" = { diff --git a/hosts/sobotka/modules.nix b/hosts/sobotka/modules.nix index 1249a67a..106d4820 100644 --- a/hosts/sobotka/modules.nix +++ b/hosts/sobotka/modules.nix @@ -4,7 +4,12 @@ kernel = { variant = "latest"; hardware = ["intel"]; - extraKernelParams = ["fbcon=rotate:1"]; + extraKernelParams = [ + "fbcon=rotate:1" + "efi=keep_bootcon" + "amd_iommu=on" + "iommu=pt" + ]; }; loader = { default = {