fix screen tearing

This commit is contained in:
Sam 2024-05-29 19:49:31 +01:00
parent 4efc1d3e61
commit 393c5b6a91
1 changed files with 8 additions and 1 deletions

View File

@ -37,6 +37,7 @@ in
timeout = 3;
};
};
boot.kernelParams = [ "i915.enable_psr=0" ];
networking = {
hostName = "sparky";
@ -44,12 +45,18 @@ in
enableIPv6 = false;
};
services.libinput.enable = true;
services.displayManager.defaultSession = "cinnamon";
services.libinput.enable = true;
services.xserver = {
enable = true;
videoDrivers = [ "modesetting" ];
displayManager.lightdm.enable = true;
exportConfiguration = true;
deviceSection = ''
Option "DRI" "2"
Option "TearFree" "true"
'';
desktopManager = {
cinnamon.enable = true;
};