summary refs log tree commit diff
path: root/hosts/vm
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vm')
-rw-r--r--hosts/vm/cfg.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/hosts/vm/cfg.nix b/hosts/vm/cfg.nix
index 5ceba52..8c56336 100644
--- a/hosts/vm/cfg.nix
+++ b/hosts/vm/cfg.nix
@@ -81,6 +81,13 @@
       algorithm = "zstd";
     };
 
-    greeter.initialSession = "env WLR_RENDERER=pixman sh -c ${pkgs.sway}/bin/sway";
+    greeter.initialSession = "sh -c ${pkgs.sway}/bin/sway";
+
+    hardware.opengl = {
+      enable = true;
+      extraPackages = with pkgs; [ rocm-opencl-icd rocm-opencl-runtime ];
+      driSupport = true;
+      driSupport32Bit = true;
+    };
   };
 }