feat(home-pc): update gpu settings
This commit is contained in:
parent
fb6bae9f1e
commit
c9016557c0
|
@ -3,5 +3,15 @@
|
||||||
{
|
{
|
||||||
# Graphics drivers
|
# Graphics drivers
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
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
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue