Enable vaapi when gui is enabled

restic-rest-server
Simon Bruder 2020-08-25 21:07:42 +02:00
parent 4faad88d6a
commit ea3e76c6f4
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
1 changed files with 4 additions and 0 deletions

View File

@ -40,4 +40,8 @@
mkvtoolnix-cli # matroska (de-)muxing
]
);
hardware.opengl.extraPackages = with pkgs; if gui then [
pkgs.vaapiIntel
] else [];
}