feat(home-pc): update gpu settings

This commit is contained in:
Felix Schröter 2019-12-14 12:16:41 +01:00
parent fb6bae9f1e
commit c9016557c0
No known key found for this signature in database
GPG key ID: A12D7C9D2FD34458

View file

@ -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
];
};
}