fix screen tearing
This commit is contained in:
parent
4efc1d3e61
commit
393c5b6a91
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue