diff --git a/modules/services/arr/default.nix b/modules/services/arr/default.nix new file mode 100644 index 0000000..83cc720 --- /dev/null +++ b/modules/services/arr/default.nix @@ -0,0 +1,7 @@ +{...}: { + imports = [ + ./sonarr.nix + ./radarr.nix + ./prowlarr.nix + ]; +} diff --git a/modules/services/arr/prowlarr.nix b/modules/services/arr/prowlarr.nix new file mode 100644 index 0000000..c404841 --- /dev/null +++ b/modules/services/arr/prowlarr.nix @@ -0,0 +1,6 @@ +{...}: { + services.prowlarr = { + enable = true; + openFirewall = true; + }; +} diff --git a/modules/services/arr/radarr.nix b/modules/services/arr/radarr.nix new file mode 100644 index 0000000..ac2ce9b --- /dev/null +++ b/modules/services/arr/radarr.nix @@ -0,0 +1,7 @@ +{...}: { + services.radarr = { + enable = true; + openFirewall = true; + dataDir = "/home/notoh/radarr"; + }; +} diff --git a/modules/services/arr/sonarr.nix b/modules/services/arr/sonarr.nix new file mode 100644 index 0000000..ae6bb87 --- /dev/null +++ b/modules/services/arr/sonarr.nix @@ -0,0 +1,7 @@ +{...}: { + services.sonarr = { + enable = true; + openFirewall = true; + dataDir = "/home/notoh/sonarr"; + }; +} diff --git a/modules/services/default.nix b/modules/services/default.nix index 948715a..df316f7 100644 --- a/modules/services/default.nix +++ b/modules/services/default.nix @@ -7,5 +7,6 @@ ./stash.nix ./foundryvtt.nix ./forgejo.nix + ./jellyfin.nix ]; } diff --git a/modules/services/homepage.nix b/modules/services/homepage.nix index cbca0c9..a8ca260 100644 --- a/modules/services/homepage.nix +++ b/modules/services/homepage.nix @@ -1,4 +1,4 @@ -{config, ...}: { +{...}: { virtualisation.oci-containers.containers.homepage = { image = "ghcr.io/benphelps/homepage"; volumes = [ diff --git a/modules/services/jellyfin.nix b/modules/services/jellyfin.nix new file mode 100644 index 0000000..65ecce0 --- /dev/null +++ b/modules/services/jellyfin.nix @@ -0,0 +1,10 @@ +{...}: { + services.jellyfin = { + enable = true; + openFirewall = true; + }; + services.jellyseerr = { + enable = true; + openFirewall = true; + }; +} diff --git a/modules/services/traefik.nix b/modules/services/traefik.nix index 76ed55d..c42a29b 100644 --- a/modules/services/traefik.nix +++ b/modules/services/traefik.nix @@ -19,6 +19,7 @@ searxng.loadBalancer.servers = [{url = "http://localhost:8085";}]; hugo.loadBalancer.servers = [{url = "http://localhost:1313";}]; stash.loadBalancer.servers = [{url = "http://localhost:9999";}]; + jellyfin.loadBalancer.servers = [{url = "http://localhost:8096";}]; foundryvtt.loadBalancer.servers = [{url = "http://localhost:30000";}]; gitea.loadBalancer.servers = [{url = "http://localhost:3000";}]; }; @@ -43,6 +44,11 @@ entrypoints = ["web"]; service = "stash"; }; + jellyfin = { + rule = "Host(`jellyfin.lab`)"; + entrypoints = ["web"]; + service = "jellyfin"; + }; hugo = { rule = "Host(`notohh.dev`)"; entryPoints = ["websecure"];