Adding Jellyfin

This commit is contained in:
Lyes Saadi 2026-01-06 23:41:37 +01:00
parent 29b68823ad
commit 6fd0fa43d6
Signed by: lyes
GPG key ID: 55A1D803917CF39A
5 changed files with 57 additions and 9 deletions

View file

@ -5,5 +5,6 @@
- `kalif` : Factorio (`factorio.lyes.eu`)
- `link` : Kanidm (`auth.lyes.eu`)
- `maistro` : Incus
- `mikau` : Jellyfin (`media.lyes.eu`)
- `nayru` : Komga/Manga (`manga.lyes.eu`)
- `taf` : Mail (`taf.lyes.eu`/`mail.lyes.eu`)

View file

@ -0,0 +1,25 @@
{ pkgs, ... }:
{
hardware.graphics = {
enable = true;
extraPackages = with pkgs; [
intel-compute-runtime
intel-media-driver
intel-vaapi-driver
libva-vdpau-driver
libvdpau-va-gl
];
};
services.jellyfin = {
enable = true;
user = "jellyfin";
group = "media";
};
users.users.jellyfin.extraGroups = [ "media" ];
networking.firewall.allowedUDPPorts = [ 7359 ];
}