Replace amdgpu with the modesetting driver to avoid X crashes
diff --git a/modules/amd.nix b/modules/amd.nix
index 7dbbb6e..37b877c 100644
--- a/modules/amd.nix
+++ b/modules/amd.nix
@@ -8,23 +8,24 @@
     home.file.".config/prelaunch/amd-output-source.sh".executable = true;
   };
   config = {
-    boot.initrd.kernelModules = [ "radeon" "amdgpu" ];
-    services.xserver.videoDrivers = [ "amdgpu" "radeon" "modesetting" "fbdev" ];
+    boot.initrd.kernelModules = [ "amdgpu" ];
+    services.xserver.videoDrivers = [ "modesetting" "fbdev" ];
+    /* services.xserver.defaultDepth = 24; */
     systemd.tmpfiles.rules = [
       "L+    /opt/rocm/hip   -    -    -     -    ${pkgs.hip}"
     ];
     hardware.opengl.driSupport = true;
     hardware.opengl.driSupport32Bit = true;
     services.hardware.bolt.enable = true;
-    services.xserver.config = lib.mkAfter ''
-      Section "Device"
-        Identifier "Device-amdgpu[1]"
-        Driver     "amdgpu" 
-        BusID      "PCI:06:00.0"
-        Option     "AllowExternalGpus" "True"
-        Option     "AllowEmptyInitialConfiguration"
-        Option     "TearFree" "true"
-      EndSection
-    '';
+    /* services.xserver.config = lib.mkAfter '' */
+    /*   Section "Device" */
+    /*     Identifier "Device-radeon[1]" */
+    /*     Driver     "radeon" */ 
+    /*     BusID      "PCI:06:00.0" */
+    /*     Option     "AllowExternalGpus" "True" */
+    /*     Option     "AllowEmptyInitialConfiguration" */
+    /*     # Option     "TearFree" "true" */
+    /*   EndSection */
+    /* ''; */
   };
 }