From 9e37aa139d2e45fa2f6c87f6700fc6111bfc340d Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Wed, 26 Apr 2023 02:59:02 -0400 Subject: [PATCH] Tweak sway on vm --- machines/productivity-vm/home.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/machines/productivity-vm/home.nix b/machines/productivity-vm/home.nix index a2cda27..fae8ad5 100644 --- a/machines/productivity-vm/home.nix +++ b/machines/productivity-vm/home.nix @@ -21,7 +21,11 @@ home.packages = with pkgs; [ gammastep ]; # Sway outputs - home.sessionVariables = { "WLR_NO_HARDWARE_CURSORS" = "1"; }; + home.sessionVariables = { + "WLR_NO_HARDWARE_CURSORS" = "1"; + "WLR_RENDERER" = "gles2"; + "WLR_RENDER_DRM_DEVICE" = "/dev/dri/renderD128"; + }; wayland.windowManager.sway.config = { output = { Virtual-1 = {