Enable hardware acceleration on Camelot
This commit is contained in:
parent
ac727a1e1d
commit
0a8bba47e7
|
@ -40,6 +40,8 @@
|
|||
git
|
||||
];
|
||||
|
||||
hwAccelerationGPU = "intel";
|
||||
|
||||
machineUsers = {
|
||||
dala = {
|
||||
description = "Dala";
|
||||
|
|
|
@ -14,6 +14,7 @@ with lib;
|
|||
hardware.opengl = {
|
||||
enable = config.hwAccelerationGPU != null;
|
||||
extraPackages = with pkgs; [
|
||||
(mkIf (config.hwAccelerationGPU == "intel") intel-media-driver)
|
||||
libvdpau-va-gl
|
||||
vaapiVdpau
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue