From b04079a0b73ad113e341cb39f0669a7d371bf37b Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Sun, 18 Jun 2023 16:52:20 -0400 Subject: [PATCH] Hyprland in vmware take 1 --- machines/productivity-vm/configuration.nix | 6 ++++++ machines/productivity-vm/home.nix | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/machines/productivity-vm/configuration.nix b/machines/productivity-vm/configuration.nix index a33051a..6db4c42 100644 --- a/machines/productivity-vm/configuration.nix +++ b/machines/productivity-vm/configuration.nix @@ -60,4 +60,10 @@ max-jobs = 4; }; + # Make hyprland work + environment.sessionVariables = { + # "WLR_NO_HARDWARE_CURSORS" = "1"; + # "WLR_RENDERER" = "pixman"; + "WLR_RENDERER_ALLOW_SOFTWARE" = "1"; + }; } diff --git a/machines/productivity-vm/home.nix b/machines/productivity-vm/home.nix index 4e8fa13..6f3d21a 100644 --- a/machines/productivity-vm/home.nix +++ b/machines/productivity-vm/home.nix @@ -18,12 +18,6 @@ home.packages = with pkgs; [ gammastep ]; # Hyprland outputs + tweaks - home.sessionVariables = { - "WLR_NO_HARDWARE_CURSORS" = "1"; - "WLR_RENDERER" = "pixman"; - "WLR_RENDER_DRM_DEVICE" = "/dev/dri/renderD128"; - "WLR_RENDERER_ALLOW_SOFTWARE" = "1"; - }; wayland.windowManager.hyprland.extraConfig = '' monitor=Virtual-1,preferred,auto,1.5