diff --git a/nixos/amd-graphics.nix b/nixos/amd-graphics.nix new file mode 100644 index 0000000..c2886a9 --- /dev/null +++ b/nixos/amd-graphics.nix @@ -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 + ]; + }; +} diff --git a/server-modules/arr.nix b/server-modules/arr.nix index decaecc..760e71e 100644 --- a/server-modules/arr.nix +++ b/server-modules/arr.nix @@ -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";