Enable VAAPI support for jellyfin
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m30s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m30s
This commit is contained in:
parent
cc09f23831
commit
d2a0e88004
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user