feat(APPA): add jellyfin

This commit is contained in:
Jacob Bachmann 2024-10-02 20:04:33 +02:00
parent 5193b21ffd
commit aac276e154
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
4 changed files with 26 additions and 0 deletions

View file

@ -58,6 +58,10 @@
domain = "paperless.dryb.org";
answer = "192.168.2.40";
}
{
domain = "jellyfin.dryb.org";
answer = "192.168.2.40";
}
];
};
dhcp = {

View file

@ -6,6 +6,7 @@
./ddclient.nix
./gitea.nix
./homepage-dashboard.nix
./jellyfin.nix
./nextcloud.nix
./nginx.nix
./paperless.nix

View file

@ -0,0 +1,14 @@
{ config, ... }:
{
# HTTP Traffic: 8096
# HTTPS Traffic: 8920
# Service Discovery: 1900
# Client Discovery: 7359 UDP
users.groups."${config.services.jellyfin.group}".members = [ "nextcloud" ];
services.jellyfin = {
enable = true;
openFirewall = true;
};
}

View file

@ -50,6 +50,13 @@
proxyPass = "http://127.0.0.1:8006";
};
};
virtualHosts."jellyfin.dryb.org" = {
useACMEHost = "dryb.org";
forceSSL = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8096";
};
};
};
networking.firewall = {