Jellyfin hardware transcoding

This commit is contained in:
Jan Kremer 2026-03-10 12:35:04 +01:00
parent 94bd2662a5
commit a68a995a59
No known key found for this signature in database
3 changed files with 13 additions and 10 deletions

View file

@ -1,5 +1,5 @@
{
inputs,
pkgs,
lib,
modulesPath,
...
@ -7,7 +7,6 @@
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
inputs.nixos-hardware.nixosModules.common-cpu-intel
];
boot = {
@ -57,8 +56,15 @@
interfaces.eno1.wakeOnLan.enable = true;
};
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver
];
};
environment.sessionVariables = {
LIBVA_DRIVER_NAME = "i965"; # Prefered for Skylake processors
LIBVA_DRIVER_NAME = "iHD";
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";