nix-config/hosts/sisyphe/features/multimedia/jellyfin.nix
harry123 8a522c525c Refactor Nix configurations to update URLs from hypervirtual.world to rougebordeaux.xyz
- Updated flake.nix to change Alejandra and other inputs to follow the new repository structure.
- Modified uptime-kuma configurations to reflect the new domain for Caddy reverse proxy settings.
- Adjusted various multimedia services in Sisyphe to use the new domain for Caddy virtual hosts.
- Disabled the Sabnzbd service in Sisyphe and updated its Caddy configuration.
- Corrected multiple service configurations in Sisyphe to point to the new domain, including Grafana, Nextcloud, and Synapse Matrix.
- Ensured all references to hypervirtual.world are replaced with rougebordeaux.xyz across all relevant files.
2025-05-08 16:02:47 +02:00

34 lines
853 B
Nix

{ pkgs, config, ... }:
{
# 1. enable vaapi on OS-level
nixpkgs.config.packageOverrides = pkgs: {
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
};
hardware.graphics = {
# hardware.opengl in 24.05
enable = true;
extraPackages = with pkgs; [
intel-media-driver
intel-vaapi-driver # previously vaapiIntel
vaapiVdpau
intel-compute-runtime # OpenCL filter support (hardware tonemapping and subtitle burn-in)
intel-media-sdk # QSV up to 11th gen
];
};
services.jellyfin = {
enable = true;
openFirewall = true;
};
services.caddy.virtualHosts = {
"http://jellyfin.sisyphe.normandy.rougebordeaux.xyz".extraConfig = ''
reverse_proxy :8096
'';
"http://media.rougebordeaux.xyz.extraConfig = ''
reverse_proxy :8096
'';
};
}