1
0
Fork 0

2 last months

This commit is contained in:
Avery 2024-06-28 18:15:13 +02:00
parent f845745874
commit 15b909473e
Signed by: Avery
GPG key ID: B684FD451B692E04
63 changed files with 963 additions and 1103 deletions

View file

@ -0,0 +1,20 @@
{ pkgs, ... }:
let
jellyfinPath = "/mnt/Datos/jellyfin/";
nginxLocalServiceConfig = import ./nginx-local-config.nix;
in {
services = {
jellyfin = {
enable = true;
configDir = jellyfinPath + "config/";
dataDir = jellyfinPath + "data/";
};
nginx.virtualHosts."jellyfin.rcia.dev" = {
locations."/" = {
proxyPass = "http://127.0.0.1:8096";
clientMaxBodySize = "10M";
};
extraConfig = nginxLocalServiceConfig;
};
};
}