From da0daa174e4e4c5de36c3a720db18ba10181905b Mon Sep 17 00:00:00 2001 From: Dmitriy Kholkin Date: Thu, 21 Aug 2025 04:55:50 +0300 Subject: [PATCH] feat: add env to fix in game resolution problems --- hosts/andromedae/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/hosts/andromedae/default.nix b/hosts/andromedae/default.nix index 5545421..0ba14e9 100644 --- a/hosts/andromedae/default.nix +++ b/hosts/andromedae/default.nix @@ -75,13 +75,14 @@ in ataraxia.theme.catppuccin.enable = true; wayland.windowManager.hyprland.settings = { - # TODO: Remove after flickering is fixed - # misc.vrr = lib.mkForce 0; monitor = mkForce [ "DP-3,2560x1440@164.998993,0x0,1" "HDMI-A-1,1920x1080@60,-1920x360,1" ",highres,auto,1" ]; + env = { + WAYLANDDRV_PRIMARY_MONITOR = "DP-3"; + }; exec-once = [ "${pkgs.xorg.xrandr}/bin/xrandr --output DP-3 --primary" ]; @@ -122,6 +123,10 @@ in # yt-archivist ]; + home.sessionVariables = { + WAYLANDDRV_PRIMARY_MONITOR = "DP-3"; + }; + persist.state.directories = [ ".config/image-updater" ".config/lsfg-vk"