nixos-config/services/jellyfin.nix

19 lines
415 B
Nix
Raw Normal View History

{ config, pkgs, ... }:
{
services.jellyfin.enable = true;
services.jellyfin.user = "felschr";
2021-05-27 11:24:03 +02:00
services.jellyfin.openFirewall = true;
# for hardware acceleration
2021-05-27 11:24:03 +02:00
users.users.jellyfin.extraGroups = [ "video" "render" ];
services.nginx = {
virtualHosts."jellyfin.felschr.com" = {
enableACME = true;
forceSSL = true;
locations."/".proxyPass = "http://localhost:8096";
};
};
}