feat(home-server): configure GPU & jellyfin acceleration

This commit is contained in:
Felix Schröter 2022-08-06 16:05:25 +02:00
parent 441ce548f2
commit f96a3228d9
Signed by: felschr
GPG key ID: 671E39E6744C807D
3 changed files with 3 additions and 5 deletions

View file

@ -3,9 +3,8 @@
{
boot.initrd.kernelModules = [ "i915" ];
nixpkgs.config.packageOverrides = pkgs: {
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
};
# kaby lake
boot.kernelParams = [ "i915.enable_guc=3" ];
environment.variables = {
VDPAU_DRIVER =
@ -14,7 +13,6 @@
hardware.opengl.extraPackages = with pkgs; [
vaapiIntel
vaapiVdpau
libvdpau-va-gl
intel-media-driver
intel-compute-runtime