From afd56d878e71767defb6906bf2b236e11944a2e8 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Sun, 23 Jun 2024 18:24:30 +0200 Subject: [PATCH] update --- hosts/server/configuration.nix | 2 +- hosts/server/modules/jackflix/bazarr.nix | 6 ++++++ hosts/server/modules/jackflix/default.nix | 1 + hosts/server/modules/jackflix/jellyseerr.nix | 6 ++++++ hosts/server/modules/jackflix/prowlarr.nix | 6 ++++++ hosts/server/modules/jackflix/radarr.nix | 6 ++++++ hosts/server/modules/jackflix/sonarr.nix | 6 ++++++ hosts/server/modules/www/home.anotherhadi.com.nix | 14 ++++++++++++-- 8 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 hosts/server/modules/jackflix/bazarr.nix create mode 100644 hosts/server/modules/jackflix/default.nix create mode 100644 hosts/server/modules/jackflix/jellyseerr.nix create mode 100644 hosts/server/modules/jackflix/prowlarr.nix create mode 100644 hosts/server/modules/jackflix/radarr.nix create mode 100644 hosts/server/modules/jackflix/sonarr.nix diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index c81d3cc..a6ad485 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -22,7 +22,7 @@ ./modules/www # jackflix - ./modules/jackflix/jellyfin.nix + ./modules/jackflix ]; # Bootloader. diff --git a/hosts/server/modules/jackflix/bazarr.nix b/hosts/server/modules/jackflix/bazarr.nix new file mode 100644 index 0000000..402b43c --- /dev/null +++ b/hosts/server/modules/jackflix/bazarr.nix @@ -0,0 +1,6 @@ +{ + services.bazarr = { + enable = true; + openFirewall = true; + }; +} diff --git a/hosts/server/modules/jackflix/default.nix b/hosts/server/modules/jackflix/default.nix new file mode 100644 index 0000000..f857796 --- /dev/null +++ b/hosts/server/modules/jackflix/default.nix @@ -0,0 +1 @@ +{ imports = [ ./jellyfin.nix ./jellyseerr.nix ]; } diff --git a/hosts/server/modules/jackflix/jellyseerr.nix b/hosts/server/modules/jackflix/jellyseerr.nix new file mode 100644 index 0000000..595cae4 --- /dev/null +++ b/hosts/server/modules/jackflix/jellyseerr.nix @@ -0,0 +1,6 @@ +{ + services.jellyseer = { + enable = true; + openFirewall = true; + }; +} diff --git a/hosts/server/modules/jackflix/prowlarr.nix b/hosts/server/modules/jackflix/prowlarr.nix new file mode 100644 index 0000000..ef9f487 --- /dev/null +++ b/hosts/server/modules/jackflix/prowlarr.nix @@ -0,0 +1,6 @@ +{ + services.prowlarr = { + enable = true; + openFirewall = true; + }; +} diff --git a/hosts/server/modules/jackflix/radarr.nix b/hosts/server/modules/jackflix/radarr.nix new file mode 100644 index 0000000..81bfec1 --- /dev/null +++ b/hosts/server/modules/jackflix/radarr.nix @@ -0,0 +1,6 @@ +{ + services.radarr = { + enable = true; + openFirewall = true; + }; +} diff --git a/hosts/server/modules/jackflix/sonarr.nix b/hosts/server/modules/jackflix/sonarr.nix new file mode 100644 index 0000000..9c35473 --- /dev/null +++ b/hosts/server/modules/jackflix/sonarr.nix @@ -0,0 +1,6 @@ +{ + services.sonarr = { + enable = true; + openFirewall = true; + }; +} diff --git a/hosts/server/modules/www/home.anotherhadi.com.nix b/hosts/server/modules/www/home.anotherhadi.com.nix index afe81e6..36703b7 100644 --- a/hosts/server/modules/www/home.anotherhadi.com.nix +++ b/hosts/server/modules/www/home.anotherhadi.com.nix @@ -25,7 +25,17 @@ let "title": "Vaultwarden", "url": "https://vault.anotherhadi.com", "icon": "" - } + }, + { + "title": "Jellyfin", + "url": "http://jack:8096", + "icon": "󰅟" + }, + { + "title": "Overseerr", + "url": "http://jack:8096", + "icon": "󰅟" + }, ] }, { @@ -38,7 +48,7 @@ let }, { "title": "Adguard Home", - "url": "http://192.168.2.24:3001", + "url": "http://jack:3001", "icon": "󰷱" }, {