From 0ac41514794085e286c88739e7e2b5561a21103b Mon Sep 17 00:00:00 2001 From: Joshua Yuen Date: Sun, 21 Jun 2026 15:40:51 -0400 Subject: [PATCH] Fix discord scaling issues due to xwayland scaling --- modules/homes/hyprland/hyprland.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/homes/hyprland/hyprland.nix b/modules/homes/hyprland/hyprland.nix index ea4cd17..cd6ec6b 100644 --- a/modules/homes/hyprland/hyprland.nix +++ b/modules/homes/hyprland/hyprland.nix @@ -51,6 +51,7 @@ in }; env = [ + "ELECTRON_OZONE_PLATFORM_HINT, wayland" "NIXOS_OZONE_WL, 1" "XDG_CURRENT_DESKTOP, Hyprland" "XDG_SESSION_DESKTOP, Hyprland" @@ -59,6 +60,7 @@ in xwayland = { enabled = true; + force_zero_scaling = true; }; ecosystem = {