Switched to jellyfin and removed plex config
This commit is contained in:
parent
3a3303e822
commit
80c1add81c
@ -34,18 +34,9 @@
|
||||
};
|
||||
};
|
||||
|
||||
# Plex Setup
|
||||
services.plex = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
user = "media";
|
||||
dataDir = "/mnt/media/plex";
|
||||
};
|
||||
|
||||
# Jellyfin Setup
|
||||
services.jellyfin = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
user = "media";
|
||||
dataDir = "/mnt/media/jellyfin";
|
||||
};
|
||||
@ -125,6 +116,21 @@
|
||||
forceSSL = true;
|
||||
};
|
||||
|
||||
# Jellyfin
|
||||
"media.randomctf.com" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
|
||||
extraConfig = ''
|
||||
access_log /var/log/nginx/access.media.log;
|
||||
'';
|
||||
|
||||
locations."/".extraConfig = ''
|
||||
proxy_buffering off;
|
||||
proxy_pass http://localhost:8096/;
|
||||
'';
|
||||
};
|
||||
|
||||
# Gitea
|
||||
"git.randomctf.com" = {
|
||||
enableACME = true;
|
||||
@ -159,12 +165,7 @@
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
certs = {
|
||||
"randomctf.com".email = "admin@randomctf.com";
|
||||
"notifier-api.randomctf.com".email = "admin@randomctf.com";
|
||||
${config.services.nextcloud.hostName}.email = "admin@randomctf.com";
|
||||
${config.services.gitea.settings.server.DOMAIN}.email = "admin@randomctf.com";
|
||||
};
|
||||
defaults.email = "admin@randomctf.com";
|
||||
};
|
||||
|
||||
# Enable Tailscale
|
||||
|
Loading…
x
Reference in New Issue
Block a user