nixos-config/configurations/nixos/pureintent/home-media.nix
Sridhar Ratnakumar b94d4543f4 Revert "jellyfin: use gpu?"
This reverts commit ca169cb782.
2025-08-31 13:27:12 -04:00

38 lines
685 B
Nix

{ pkgs, ... }:
{
services.jellyfin = {
enable = true;
# openFirewall = true;
};
environment.systemPackages = with pkgs; [
yt-dlp
ffmpeg
aria2
tmux
vlc
];
# A separate user to manage the library filesystem.
users.users.jellyfin-manager = {
isNormalUser = true;
group = "jellyfin";
};
services.nginx = {
enable = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts = {
"pureintent" = {
locations = {
# Jellyfin
"/" = {
proxyPass = "http://localhost:8096";
proxyWebsockets = true;
};
};
};
};
};
}