mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
jellyfin on gpu
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
11
nixos/amd-graphics.nix
Normal file
11
nixos/amd-graphics.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{pkgs, ...}: {
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
rocmPackages.clr.icd
|
||||
# Support VA-API pour AMD
|
||||
libvdpau-va-gl
|
||||
libva-vdpau-driver
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -50,6 +50,8 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
users.users.jellyfin.extraGroups = ["video" "render"];
|
||||
|
||||
services.cloudflared.tunnels."f7c8f777-a36c-4b9a-b6e3-6a112bd43e73".ingress = {
|
||||
"media.hadi.diy" = "http://localhost:8096";
|
||||
"demandemedia.hadi.diy" = "http://localhost:5055";
|
||||
|
||||
Reference in New Issue
Block a user