diff --git a/ServeNix/configuration.nix b/ServeNix/configuration.nix index e40be5a..37a16a6 100644 --- a/ServeNix/configuration.nix +++ b/ServeNix/configuration.nix @@ -28,6 +28,7 @@ # ./services/homeassistant.nix # Replaced by HAOS # ./services/homepage.nix ./services/immich.nix + ./services/jellyfin.nix ./services/kopia.nix ./services/nextcloud.nix ./services/nginx-proxy-manager.nix @@ -36,25 +37,6 @@ # ./services/uptime-kuma.nix ./services/whats-up-docker.nix # ./services/wireguard-vps.nix # NOTE: Runs on ThinkNix - - # MultimediArr - # ./services/bazarr.nix - # ./services/fileflows.nix - ./services/jellyfin.nix - # ./services/jellyseerr.nix - # ./services/jellystat.nix - # ./services/prowlarr.nix - # ./services/radarr.nix - # ./services/sonarr.nix - # ./services/sabnzbd.nix - - # Box - # ./services/box-fileflows.nix - # ./services/box-hydra.nix - ./services/box-metube.nix - # ./services/box-sabnzbd.nix - ./services/box-stash.nix - ./services/box-unmanic.nix ]; # Bootloader. diff --git a/ServeNix/services/airsignal.nix b/ServeNix/services/airsignal.nix deleted file mode 100644 index f686d2b..0000000 --- a/ServeNix/services/airsignal.nix +++ /dev/null @@ -1,26 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - virtualisation.oci-containers.containers.airsignal = { - image = "gitea.vps.chriphost.de/christoph/airsignal:latest"; - autoStart = true; - - dependsOn = []; - - ports = [ - "12776:12776" - "12776:12776/udp" - ]; - - volumes = []; - - environment = {}; - - extraOptions = [ - "--net=behind-nginx" - ]; - }; -} diff --git a/ServeNix/services/bazarr.nix b/ServeNix/services/bazarr.nix deleted file mode 100644 index 1b83031..0000000 --- a/ServeNix/services/bazarr.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - virtualisation.oci-containers.containers.bazarr = { - image = "linuxserver/bazarr:latest"; - autoStart = true; - - dependsOn = []; - - ports = [ - # "6767:6767" - ]; - - volumes = [ - "bazarr_config:/config" - "/media/Show:/tv" - "/media/Movie:/movies" - ]; - - environment = { - PUID = "3000"; - PGID = "3000"; - TZ = "Europe/Berlin"; - }; - - extraOptions = [ - "--net=behind-nginx" - ]; - }; -} diff --git a/ServeNix/services/box-fileflows.nix b/ServeNix/services/box-fileflows.nix deleted file mode 100644 index d94c016..0000000 --- a/ServeNix/services/box-fileflows.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - virtualisation.oci-containers.containers.box-fileflows = { - image = "revenz/fileflows:latest"; - autoStart = true; - - dependsOn = [ - # "pihole" - ]; - - ports = [ - # "5000:5000" - ]; - - volumes = [ - "/media/Stash-Video:/media/Video" - "/media/Stash-Picture:/media/Picture" - - "box-fileflows_temp:/temp" - "box-fileflows_logs:/app/Logs" - "box-fileflows_config:/app/Data" - - "/var/run/docker.sock:/var/run/docker.sock:ro" - ]; - - environment = { - TZ = "Europe/Berlin"; - - NVIDIA_VISIBLE_DEVICES = "all"; - NVIDIA_DRIVER_CAPABILITIES = "all"; - }; - - extraOptions = [ - "--privileged" # Helps with CUDA issues - "--gpus=all" - "--net=behind-nginx" - ]; - }; -} diff --git a/ServeNix/services/box-hydra.nix b/ServeNix/services/box-hydra.nix deleted file mode 100644 index bee4b27..0000000 --- a/ServeNix/services/box-hydra.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - virtualisation.oci-containers.containers.box-hydra = { - image = "linuxserver/nzbhydra2:latest"; - autoStart = true; - - dependsOn = [ - # "pihole" - # "sabnzbd" - ]; - - ports = [ - # "5076:5076" - ]; - - volumes = [ - "box-hydra_config:/config" - ]; - - environment = { - PUID = "1000"; - PGID = "1000"; - TZ = "Europe/Berlin"; - }; - - extraOptions = [ - "--net=behind-nginx" - ]; - }; -} diff --git a/ServeNix/services/box-metube.nix b/ServeNix/services/box-metube.nix deleted file mode 100644 index d43d3e7..0000000 --- a/ServeNix/services/box-metube.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - virtualisation.oci-containers.containers.box-metube = { - image = "ghcr.io/alexta69/metube"; - autoStart = true; - - dependsOn = [ - # "pihole" - ]; - - ports = [ - # "3366:8081" - ]; - - volumes = [ - "/media/Stash-Video:/downloads" - ]; - - environment = { - UID = "3001"; - GID = "3001"; - - # NVIDIA_VISIBLE_DEVICES = "all"; - # NVIDIA_DRIVER_CAPABILITIES = "all"; - }; - - extraOptions = [ - # "--gpus=all" - "--net=behind-nginx" - ]; - }; -} diff --git a/ServeNix/services/box-sabnzbd.nix b/ServeNix/services/box-sabnzbd.nix deleted file mode 100644 index a4d4495..0000000 --- a/ServeNix/services/box-sabnzbd.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - virtualisation.oci-containers.containers.box-sabnzbd = { - image = "linuxserver/sabnzbd:latest"; - autoStart = true; - - dependsOn = [ - # "pihole" - ]; - - ports = [ - # "8080:8080" - ]; - - volumes = [ - "/media/Stash-Video:/downloads" - - "box-sabnzbd_config:/config" - ]; - - environment = { - PUID = "3001"; - PGID = "3001"; - TZ = "Europe/Berlin"; - }; - - extraOptions = [ - "--net=behind-nginx" - ]; - }; -} diff --git a/ServeNix/services/box-stash.nix b/ServeNix/services/box-stash.nix deleted file mode 100644 index 26b1ce4..0000000 --- a/ServeNix/services/box-stash.nix +++ /dev/null @@ -1,97 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - # virtualisation.oci-containers.containers.box-stash-cdp = { - # image = "chromedp/headless-shell:latest"; - # autoStart = true; - - # dependsOn = [ - # # "pihole" - # ]; - - # ports = [ - # # "9222:9222" - # ]; - - # volumes = []; - - # environment = {}; - - # extraOptions = [ - # # "--gpus=all" - # # "--shm-size=2G" - # "--net=behind-nginx" - # ]; - # }; - - # virtualisation.oci-containers.containers.box-stash-flaresolverr = { - # image = "ghcr.io/flaresolverr/flaresolverr:latest"; - # autoStart = true; - - # dependsOn = [ - # # "pihole" - # ]; - - # ports = [ - # # "8191:8191" - # ]; - - # volumes = []; - - # environment = { - # LOG_LEVEL = "info"; - # }; - - # extraOptions = [ - # # "--gpus=all" - # # "--shm-size=2G" - # "--net=behind-nginx" - # ]; - # }; - - virtualisation.oci-containers.containers.box-stash = { - image = "stashapp/stash:latest"; - autoStart = true; - - dependsOn = [ - # "box-stash-cdp" - # "box-stash-flaresolverr" - ]; - - ports = [ - # "9999:9999" - ]; - - volumes = [ - "/media/Stash-Picture:/data/picture" - "/media/Stash-Video:/data/video" - "/media/Stash-Clips:/data/clips" - - "box-stash_config:/root/.stash" - "box-stash_metadata:/metadata" - "box-stash_generated:/generated" - "box-stash_blobs:/blobs" - "box-stash_cache:/cache" - ]; - - environment = { - STASH_PORT = "9999"; - STASH_CACHE = "/cache/"; - STASH_GENERATED = "/generated/"; - STASH_METADATA = "/metadata/"; - STASH_STASH = "/data/"; - - NVIDIA_VISIBLE_DEVICES = "all"; - NVIDIA_DRIVER_CAPABILITIES = "all"; - }; - - extraOptions = [ - "--privileged" - "--gpus=all" - "--net=behind-nginx" - ]; - }; -} diff --git a/ServeNix/services/box-unmanic.nix b/ServeNix/services/box-unmanic.nix deleted file mode 100644 index 043941c..0000000 --- a/ServeNix/services/box-unmanic.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - virtualisation.oci-containers.containers.box-unmanic = { - image = "josh5/unmanic:latest"; - autoStart = true; - - dependsOn = [ - # "pihole" - ]; - - ports = [ - # "8888:8888" - ]; - - volumes = [ - "/media/Stash-Video:/library/Video" - "/media/Stash-Clips:/library/Clips" - - "box-unmanic_temp:/tmp/unmanic" - "box-unmanic_config:/config" - - # "/var/run/docker.sock:/var/run/docker.sock:ro" - ]; - - environment = { - TZ = "Europe/Berlin"; - - NVIDIA_VISIBLE_DEVICES = "all"; - NVIDIA_DRIVER_CAPABILITIES = "all"; - }; - - extraOptions = [ - "--privileged" # Helps with CUDA issues - "--gpus=all" - "--net=behind-nginx" - ]; - }; -} diff --git a/ServeNix/services/fileflows.nix b/ServeNix/services/fileflows.nix deleted file mode 100644 index 0284f07..0000000 --- a/ServeNix/services/fileflows.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - virtualisation.oci-containers.containers.fileflows = { - image = "revenz/fileflows:latest"; - autoStart = true; - - dependsOn = [ - # "pihole" - ]; - - ports = [ - # "5000:5000" - ]; - - volumes = [ - "/media/Movie:/media/Movie" - "/media/Show:/media/Show" - - "fileflows_temp:/temp" - "fileflows_logs:/app/Logs" - "fileflows_config:/app/Data" - - "/var/run/docker.sock:/var/run/docker.sock:ro" - ]; - - environment = { - TZ = "Europe/Berlin"; - - NVIDIA_VISIBLE_DEVICES = "all"; - NVIDIA_DRIVER_CAPABILITIES = "all"; - }; - - extraOptions = [ - "--privileged" # Helps with CUDA issues - "--gpus=all" - "--net=behind-nginx" - ]; - }; -} diff --git a/ServeNix/services/jellyseerr.nix b/ServeNix/services/jellyseerr.nix deleted file mode 100644 index 6b8af96..0000000 --- a/ServeNix/services/jellyseerr.nix +++ /dev/null @@ -1,29 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - virtualisation.oci-containers.containers.jellyseerr = { - image = "fallenbagel/jellyseerr:latest"; - autoStart = true; - - dependsOn = []; - - ports = [ - "5055:5055" - ]; - - volumes = [ - "jellyseerr_config:/app/config" - ]; - - environment = { - TZ = "Europe/Berlin"; - }; - - extraOptions = [ - "--net=behind-nginx" - ]; - }; -} diff --git a/ServeNix/services/jellystat.nix b/ServeNix/services/jellystat.nix deleted file mode 100644 index a5b33e3..0000000 --- a/ServeNix/services/jellystat.nix +++ /dev/null @@ -1,78 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - virtualisation.oci-containers.containers.jellystat-db = { - image = "postgres:15.2"; - autoStart = true; - - dependsOn = [ - # "pihole" - - ]; - - ports = [ - # "5432:5432" - ]; - - volumes = [ - "jellystat-db_data:/var/lib/postgresql/data" - ]; - - environment = { - POSTGRES_DB = "jfstat"; - POSTGRES_USER = "postgres"; - POSTGRES_PASSWORD = "jellystat-db"; - - # PUID = "1000"; - # PGID = "1000"; - # TZ = "Europe/Berlin"; - # NVIDIA_VISIBLE_DEVICES = "all"; - # NVIDIA_DRIVER_CAPABILITIES = "all"; - }; - - extraOptions = [ - # "--gpus=all" - "--net=behind-nginx" - ]; - }; - - virtualisation.oci-containers.containers.jellystat = { - image = "cyfershepard/jellystat"; - autoStart = true; - - dependsOn = [ - # "pihole" - "jellystat-db" - ]; - - ports = [ - # "3000:3000" - ]; - - volumes = [ - "jellystat_data:/app/backend/backup-data" - ]; - - environment = { - POSTGRES_USER = "postgres"; - POSTGRES_PASSWORD = "jellystat-db"; - POSTGRES_IP = "jellystat-db"; - POSTGRES_PORT = "5432"; - JWT_SECRET = "MyUnsecretJwtKey"; - - # PUID = "1000"; - # PGID = "1000"; - # TZ = "Europe/Berlin"; - # NVIDIA_VISIBLE_DEVICES = "all"; - # NVIDIA_DRIVER_CAPABILITIES = "all"; - }; - - extraOptions = [ - # "--gpus=all" - "--net=behind-nginx" - ]; - }; -} diff --git a/ServeNix/services/kopia.nix b/ServeNix/services/kopia.nix index aa3750d..04bd413 100644 --- a/ServeNix/services/kopia.nix +++ b/ServeNix/services/kopia.nix @@ -27,16 +27,6 @@ # "adguard_config:/data/adguard_config:ro" # ThinkNix # "adguard_work:/data/adguard_work:ro" # ThinkNix "authelia_config:/data/authelia_config:ro" - # "bazarr_config:/data/bazarr_config:ro" # Disabled - # "box-fileflows_config:/data/box-fileflows_config:ro" # Replaced with Unmanic - # "box-hydra_config:/data/box-hydra_config:ro" # Disabled - # "box-sabnzbd_config:/data/box-sabnzbd_config:ro" # Disabled - "box-stash_blobs:/data/box-stash_blobs:ro" - "box-stash_config:/data/box-stash_config:ro" - "box-stash_generated:/data/box-stash_generated:ro" - "box-stash_metadata:/data/box-stash_metadata:ro" - "box-unmanic_config:/data/box-unmanic_config:ro" - # "fileflows_config:/data/fileflows_config:ro" # Replaced with Unmanic "formula10_cache:/data/formula10_cache:ro" "formula10_data:/data/formula10_data:ro" "gitea-db_data:/data/gitea-db_data:ro" @@ -51,9 +41,6 @@ "immich_data:/data/immich_data:ro" "immich_machine-learning:/data/immich_machine-learning:ro" "jellyfin_config:/data/jellyfin_config:ro" - # "jellyseerr_config:/data/jellyseerr_config:ro" # Disabled - # "jellystat-db_data:/data/jellystat-db_data:ro" # Disabled - # "jellystat_data:/data/jellystat_data:ro" # Disabled "nextcloud-db_data:/data/nextcloud-db_data:ro" "nextcloud_data:/data/nextcloud_data:ro" "nginx_config:/data/nginx_config:ro" @@ -62,10 +49,6 @@ "paperless-postgres_data:/data/paperless-postgres_data:ro" "paperless_data:/data/paperless_data:ro" # "portainer_config:/data/portainer_config:ro" - # "prowlarr_config:/data/prowlarr_config:ro" # Disabled - # "radarr_config:/data/radarr_config:ro" # Disabled - # "sabnzbd_config:/data/sabnzbd_config:ro" # Disabled - # "sonarr_config:/data/sonarr_config:ro" # Disabled # "uptime-kuma_config:/data/uptime-kuma_config:ro" # Disabled # "wireguard_vps_config:/data/wireguard_vps_config:ro" ]; diff --git a/ServeNix/services/prowlarr.nix b/ServeNix/services/prowlarr.nix deleted file mode 100644 index 2dff00a..0000000 --- a/ServeNix/services/prowlarr.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - virtualisation.oci-containers.containers.prowlarr = { - image = "linuxserver/prowlarr:latest"; - autoStart = true; - - dependsOn = [ - # "pihole" - ]; - - ports = [ - # "9696:9696" - ]; - - volumes = [ - "prowlarr_config:/config" - ]; - - environment = { - PUID = "1000"; - PGID = "1000"; - TZ = "Europe/Berlin"; - }; - - extraOptions = [ - "--net=behind-nginx" - ]; - }; -} diff --git a/ServeNix/services/radarr.nix b/ServeNix/services/radarr.nix deleted file mode 100644 index 8c5120a..0000000 --- a/ServeNix/services/radarr.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - virtualisation.oci-containers.containers.radarr = { - image = "linuxserver/radarr:latest"; - autoStart = true; - - dependsOn = [ - # "pihole" - # "sabnzbd" - # "prowlarr" - ]; - - ports = [ - # "7878:7878" - ]; - - volumes = [ - "/media/TV-Usenet:/downloads" - "/media/Movie:/movies" - - "radarr_config:/config" - ]; - - environment = { - PUID = "3000"; - PGID = "3000"; - TZ = "Europe/Berlin"; - }; - - extraOptions = [ - "--net=behind-nginx" - ]; - }; -} diff --git a/ServeNix/services/sabnzbd.nix b/ServeNix/services/sabnzbd.nix deleted file mode 100644 index 58e733b..0000000 --- a/ServeNix/services/sabnzbd.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - virtualisation.oci-containers.containers.sabnzbd = { - image = "linuxserver/sabnzbd:latest"; - autoStart = true; - - dependsOn = [ - # "pihole" - ]; - - ports = [ - # "8080:8080" - ]; - - volumes = [ - "/media/TV-Usenet:/downloads" - - "sabnzbd_config:/config" - ]; - - environment = { - PUID = "3000"; - PGID = "3000"; - TZ = "Europe/Berlin"; - }; - - extraOptions = [ - "--net=behind-nginx" - ]; - }; -} diff --git a/ServeNix/services/sonarr.nix b/ServeNix/services/sonarr.nix deleted file mode 100644 index 4d97efb..0000000 --- a/ServeNix/services/sonarr.nix +++ /dev/null @@ -1,38 +0,0 @@ -{ - config, - lib, - pkgs, - ... -}: { - virtualisation.oci-containers.containers.sonarr = { - image = "linuxserver/sonarr:latest"; - autoStart = true; - - dependsOn = [ - # "pihole" - # "sabnzbd" - # "prowlarr" - ]; - - ports = [ - # "8989:8989" - ]; - - volumes = [ - "/media/TV-Usenet:/downloads" - "/media/Show:/tv" - - "sonarr_config:/config" - ]; - - environment = { - PUID = "3000"; - PGID = "3000"; - TZ = "Europe/Berlin"; - }; - - extraOptions = [ - "--net=behind-nginx" - ]; - }; -}