Enable VAAPI support for jellyfin
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m30s

This commit is contained in:
Jordan Holt 2024-06-01 20:48:28 +01:00
parent cc09f23831
commit d2a0e88004
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520

View File

@ -1,6 +1,5 @@
{ config, lib, pkgs, ... }:
{ config, pkgs, ... }:
with lib.my;
{
imports = [
./hardware-configuration.nix
@ -145,6 +144,14 @@ with lib.my;
};
};
hardware.opengl = {
enable = true;
extraPackages = with pkgs; [
vaapiVdpau
];
driSupport = true;
};
users.users.jellyfin.extraGroups = [ "video" "render" ];
services.jellyfin = {
enable = true;
cacheDir = "/var/cache/jellyfin";