diff --git a/common/gpu-nvidia.nix b/common/gpu-nvidia.nix index fd718b2..a10f43f 100644 --- a/common/gpu-nvidia.nix +++ b/common/gpu-nvidia.nix @@ -3,5 +3,15 @@ { # Graphics drivers services.xserver.videoDrivers = [ "nvidia" ]; - hardware.opengl.driSupport32Bit = true; + services.xserver.screenSection = '' + Option "metamodes" "1920x1080_144 +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}" + ''; + + hardware.opengl = { + driSupport32Bit = true; + extraPackages = with pkgs; [ + libvdpau-va-gl + vaapiVdpau + ]; + }; }