From 030d01f4cb9b48bf702d8d2beb9a8899f1e0b9d1 Mon Sep 17 00:00:00 2001 From: Rachel Lambda Samuelsson Date: Fri, 11 Oct 2024 20:16:48 +0200 Subject: [PATCH] 144hz fix --- nixos/computational/configuration.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/nixos/computational/configuration.nix b/nixos/computational/configuration.nix index 74de799..87229ba 100644 --- a/nixos/computational/configuration.nix +++ b/nixos/computational/configuration.nix @@ -58,7 +58,13 @@ }; }; }; - + + # [Fix KWIN locking to 60Hz] + environment.sessionVariables = { + KWIN_X11_NO_SYNC_TO_VBLANK = 1; + KWIN_X11_REFRESH_RATE = 144000; + KWIN_X11_FORCE_SOFTWARE_VSYNC = 1; + }; # [NETWORKING] networking.hostName = "computational";