summary refs log tree commit diff
path: root/hosts/vm/cfg.nix
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-03-12 21:23:01 +0200
committertzlil <tzlils@protonmail.com>2023-03-12 21:23:01 +0200
commite94d2c69ff5ae50cc7a5ddc2598d7caef68e406f (patch)
tree205fd97e03d9bd446401446bf0fec9552ed7d7da /hosts/vm/cfg.nix
parent39eb0b807403c7745c2edc6024e0e713155662bc (diff)
bad commit
Diffstat (limited to 'hosts/vm/cfg.nix')
-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;
+    };
   };
 }