From c16708e58bcc6a6d9250c2334816c705e2668825 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 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/hosts/andromedae/default.nix b/hosts/andromedae/default.nix index 5545421..44efc69 100644 --- a/hosts/andromedae/default.nix +++ b/hosts/andromedae/default.nix @@ -75,8 +75,6 @@ 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" @@ -122,6 +120,14 @@ in # yt-archivist ]; + home.sessionVariables = { + WAYLANDDRV_PRIMARY_MONITOR = "DP-3"; + }; + + xdg.configFile."uwsm/env".text = '' + export WAYLANDDRV_PRIMARY_MONITOR="DP-3" + ''; + persist.state.directories = [ ".config/image-updater" ".config/lsfg-vk"