|
@ -1207,11 +1207,11 @@ in { |
|
|
services.xserver.videoDrivers = [ "nvidia" ]; |
|
|
services.xserver.videoDrivers = [ "nvidia" ]; |
|
|
|
|
|
|
|
|
# Fix screen tearing. |
|
|
# Fix screen tearing. |
|
|
services.xserver.screenSection = '' |
|
|
|
|
|
Option "metamodes" "nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On}" |
|
|
|
|
|
Option "AllowIndirectGLXProtocol" "off" |
|
|
|
|
|
Option "TripleBuffer" "on" |
|
|
|
|
|
''; |
|
|
|
|
|
|
|
|
# services.xserver.screenSection = '' |
|
|
|
|
|
# Option "metamodes" "nvidia-auto-select +0+0 {ForceFullCompositionPipeline=On}" |
|
|
|
|
|
# Option "AllowIndirectGLXProtocol" "off" |
|
|
|
|
|
# Option "TripleBuffer" "on" |
|
|
|
|
|
# ''; |
|
|
|
|
|
|
|
|
# Configure `offload-mode'. |
|
|
# Configure `offload-mode'. |
|
|
hardware.nvidia.prime = { |
|
|
hardware.nvidia.prime = { |
|
|