refresh rate updates

This commit is contained in:
Rachel Lambda Samuelsson 2024-12-03 23:55:42 +01:00
parent acf9c06b4f
commit d6aa921437
3 changed files with 14 additions and 4 deletions

View File

@ -90,6 +90,7 @@
user = "rachel";
steam = true;
mcsr = false;
rate = 60;
i3-plasma = true;
};
};
@ -100,6 +101,7 @@
user = "rachel";
steam = true;
mcsr = false;
rate = 60;
i3-plasma = true;
};
};
@ -110,6 +112,7 @@
user = "rachel";
steam = true;
mcsr = true;
rate = 180;
i3-plasma = false;
};
};

View File

@ -1,9 +1,9 @@
{ ... }:
{ config, ... }:
{
services.picom = {
enable = true;
backend = "glx";
settings.refresh-rate = "60";
vSync = true;
settings.refresh-rate = config.rate;
vSync = false;
};
}

View File

@ -72,13 +72,20 @@
# [Fix KWIN locking to 60Hz]
environment.sessionVariables = {
KWIN_X11_NO_SYNC_TO_VBLANK = 1;
KWIN_X11_REFRESH_RATE = 144000;
KWIN_X11_REFRESH_RATE = 180000;
KWIN_X11_FORCE_SOFTWARE_VSYNC = 1;
};
# [NETWORKING]
networking.hostName = "computational";
networking.networkmanager.enable = true;
services.openssh = {
enable = true;
settings = {
PermitRootLogin = "no";
PasswordAuthentication = false;
};
};
system.stateVersion = "24.05";
}