attempt to enable hardware acceleration

This commit is contained in:
Noah Masur 2023-06-04 14:22:04 +00:00
parent 79eba7f333
commit 472a2b965c

View File

@ -1,4 +1,4 @@
{ config, lib, ... }: {
{ config, pkgs, lib, ... }: {
options = {
streamServer = lib.mkOption {
@ -33,6 +33,12 @@
"d /var/lib/jellyfin/library 0775 jellyfin jellyfin"
];
# Enable VA-API for hardware transcoding
hardware.opengl = {
enable = true;
extraPackages = [ pkgs.libva ];
};
};
}