2019-10-19 12:55:35 +02:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
# Graphics drivers
|
|
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
2019-12-14 12:16:41 +01:00
|
|
|
services.xserver.screenSection = ''
|
2020-03-21 16:46:18 +01:00
|
|
|
Option "metamodes" "1920x1080_120 +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
|
2019-12-14 12:16:41 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
hardware.opengl = {
|
|
|
|
driSupport32Bit = true;
|
2020-09-23 13:19:19 +02:00
|
|
|
extraPackages = with pkgs; [ libvdpau-va-gl vaapiVdpau ];
|
2019-12-14 12:16:41 +01:00
|
|
|
};
|
2019-10-19 12:55:35 +02:00
|
|
|
}
|