enable transcoding
This commit is contained in:
parent
5b38337eb3
commit
ed9c712e87
|
@ -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";
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue