enable transcoding

This commit is contained in:
♥ Minnie ♥ 2023-11-06 23:53:17 +00:00
parent 5b38337eb3
commit ed9c712e87
2 changed files with 21 additions and 1 deletions

View file

@ -53,6 +53,10 @@
config = {
# Disable if you don't want unfree packages
allowUnfree = true;
packageOverrides = pkgs: {
# enable vaapi on OS-level
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
};
};
};
@ -80,6 +84,17 @@
};
};
hardware.opengl = {
enable = true;
extraPackages = with pkgs; [
intel-media-driver
vaapiIntel
vaapiVdpau
libvdpau-va-gl
intel-compute-runtime # OpenCL filter support (hardware tonemapping and subtitle burn-in)
];
};
networking = {
hostName = "viridian";
domain = "kanto.dev";

View file

@ -1,6 +1,11 @@
{ ... }:
{ pkgs, ... }:
{
environment.systemPackages = [
# Required for hardware acceleration
pkgs.jellyfin-ffmpeg
];
services = {
# Volunteer-built media solution that puts you in control of your media
jellyfin = {