diff --git a/systems/x86_64-linux/x1/default.nix b/systems/x86_64-linux/x1/default.nix index 497ed36..9c753d7 100644 --- a/systems/x86_64-linux/x1/default.nix +++ b/systems/x86_64-linux/x1/default.nix @@ -80,6 +80,7 @@ with lib.metacfg; LIBVA_DRIVER_NAME = "iHD"; # NIXOS_OZONE_WL = "1"; # DRI_PRIME = "pci-0000_24_00_0"; + DRI_PRIME = "pci-0000_00_02_0"; }; system.stateVersion = "23.11"; diff --git a/systems/x86_64-linux/x1/hardware-configuration.nix b/systems/x86_64-linux/x1/hardware-configuration.nix index cc39e6b..b461eaa 100644 --- a/systems/x86_64-linux/x1/hardware-configuration.nix +++ b/systems/x86_64-linux/x1/hardware-configuration.nix @@ -13,7 +13,6 @@ imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ - "xhci_pci" "thunderbolt" "nvme" "uas" @@ -22,7 +21,7 @@ ]; boot.initrd.kernelModules = [ ]; boot.kernelPackages = lib.mkOverride 0 pkgs.linuxPackages_latest; - boot.kernelModules = [ "kvm-intel" ]; + boot.kernelModules = [ "kvm-intel" "amdgpu" ]; boot.kernelParams = [ "lockdown=confidentiality" "intel_iommu=on"