diff options
| author | Kyren223 <contact@kyren.codes> | 2025-10-06 16:06:29 +0300 |
|---|---|---|
| committer | Kyren223 <contact@kyren.codes> | 2025-10-06 16:06:29 +0300 |
| commit | a429027fe6944fcc7871e7cb3e4abc2d4ba1b378 (patch) | |
| tree | 3c9f82ed4acb70b3641e9c883e492cedfe709f11 /hosts/hardware-configuration-desktop.nix | |
| parent | bb160a1c66a1cab7d6ab4cfed5b3de463e142139 (diff) | |
Tried some mesa stuff
Diffstat (limited to 'hosts/hardware-configuration-desktop.nix')
| -rw-r--r-- | hosts/hardware-configuration-desktop.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/hosts/hardware-configuration-desktop.nix b/hosts/hardware-configuration-desktop.nix index 2d93fb2..7c6ddb7 100644 --- a/hosts/hardware-configuration-desktop.nix +++ b/hosts/hardware-configuration-desktop.nix @@ -9,7 +9,7 @@ ]; boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; + boot.initrd.kernelModules = [ "amdgpu" ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; @@ -36,4 +36,10 @@ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + + hardware.opengl = { enable = true; }; + services.xserver.videoDrivers = [ "amdgpu" ]; + # environment.variables = { + # AMD_VULKAN_ICD = "RADV"; # Force Mesa RADV over AMDVLK for better perf + # }; } |
