about summary refs log tree commit diff
path: root/machines/devhell/herja.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/devhell/herja.nix')
-rw-r--r--machines/devhell/herja.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/machines/devhell/herja.nix b/machines/devhell/herja.nix
index b29a2fbc..457440af 100644
--- a/machines/devhell/herja.nix
+++ b/machines/devhell/herja.nix
@@ -16,7 +16,7 @@
 
     initrd = {
       availableKernelModules = [ "nvme" "ehci_pci" "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
-      kernelModules = [ "fuse" ];
+      kernelModules = [ "fuse" "amdgpu" ];
     };
 
     kernelModules = [ "kvm-amd" "acpi_call" ];
@@ -33,11 +33,13 @@
     };
     opengl = {
       enable = true;
+      driSupport = true;
       extraPackages = with pkgs; [
         libvdpau-va-gl
         vaapiVdpau
         amdvlk
         rocm-opencl-icd
+        rocm-opencl-runtime
       ];
     };
   };
@@ -128,7 +130,7 @@
   services.xserver = {
     enable = true;
     layout = "gb";
-    videoDrivers = [ "modesetting" ];
+    videoDrivers = [ "amdgpu" ];
 
     libinput = {
       enable = true;