diff --git a/hosts/haru/services/blocky.nix b/hosts/haru/services/blocky.nix index 5111995..ac49d2e 100644 --- a/hosts/haru/services/blocky.nix +++ b/hosts/haru/services/blocky.nix @@ -124,6 +124,7 @@ "wallos.internal.flake.sh" = "192.168.1.98"; "synology.internal.flake.sh" = "192.168.1.71"; "paperless.internal.flake.sh" = "192.168.1.98"; + "rss.internal.flake.sh" = "192.168.1.98"; }; }; redis = { diff --git a/hosts/sakura/services/default.nix b/hosts/sakura/services/default.nix index 59d4fb0..cbf8e30 100644 --- a/hosts/sakura/services/default.nix +++ b/hosts/sakura/services/default.nix @@ -10,6 +10,5 @@ ./conduit.nix ./tailscale.nix ./justlog.nix - ./miniflux.nix ]; } diff --git a/hosts/sora/services/traefik.nix b/hosts/sora/services/traefik.nix index bd3ae0f..2891bef 100644 --- a/hosts/sora/services/traefik.nix +++ b/hosts/sora/services/traefik.nix @@ -160,13 +160,6 @@ tls.domains = [{main = "*.flake.sh";}]; tls.certresolver = "production"; }; - miniflux = { - rule = "Host(`rss.flake.sh`)"; - entrypoints = ["websecure"]; - service = "miniflux"; - tls.domains = [{main = "*.flake.sh";}]; - tls.certresolver = "production"; - }; }; services = { forgejo.loadBalancer = { @@ -188,7 +181,6 @@ attic.loadBalancer.servers = [{url = "http://100.104.42.96:8200";}]; minio.loadBalancer.servers = [{url = "http://100.69.79.81:9005";}]; woodpecker.loadBalancer.servers = [{url = "http://100.82.146.40:8200";}]; - miniflux.loadBalancer.servers = [{url = "http://100.121.201.47:9000";}]; }; }; }; diff --git a/hosts/yuki/services/default.nix b/hosts/yuki/services/default.nix index eefd836..53af6c6 100644 --- a/hosts/yuki/services/default.nix +++ b/hosts/yuki/services/default.nix @@ -10,5 +10,6 @@ ./searxng.nix ./anki-sync-server.nix ./paperless.nix + ./miniflux.nix ]; } diff --git a/hosts/sakura/services/miniflux.nix b/hosts/yuki/services/miniflux.nix similarity index 89% rename from hosts/sakura/services/miniflux.nix rename to hosts/yuki/services/miniflux.nix index d68d6e7..ebf261b 100644 --- a/hosts/sakura/services/miniflux.nix +++ b/hosts/yuki/services/miniflux.nix @@ -11,7 +11,7 @@ config = { LISTEN_ADDR = "0.0.0.0"; PORT = 9000; - BASE_URL = "https://rss.flake.sh"; + BASE_URL = "https://rss.internal.flake.sh"; HTTPS = "true"; WEBAUTHN = "true"; DATABASE_URL = lib.mkForce "host=100.94.214.100 port=5432 user=miniflux password=miniflux dbname=miniflux sslmode=disable"; diff --git a/hosts/yuki/services/traefik.nix b/hosts/yuki/services/traefik.nix index 4c260ef..a63a985 100644 --- a/hosts/yuki/services/traefik.nix +++ b/hosts/yuki/services/traefik.nix @@ -76,6 +76,13 @@ tls.domains = [{main = "*.internal.flake.sh";}]; tls.certresolver = "production"; }; + miniflux = { + rule = "Host(`rss.internal.flake.sh`)"; + entrypoints = ["websecure"]; + service = "miniflux"; + tls.domains = [{main = "*.internal.flake.sh";}]; + tls.certresolver = "production"; + }; # kariru sonarr = { rule = "Host(`sonarr.internal.flake.sh`)"; @@ -137,6 +144,7 @@ searxng.loadBalancer.servers = [{url = "http://localhost:8100";}]; hass.loadBalancer.servers = [{url = "http://localhost:8123";}]; paperless.loadBalancer.servers = [{url = "http://localhost:28981";}]; + miniflux.loadBalancer.servers = [{url = "http://localhost:9000";}]; # kariru sonarr.loadBalancer.servers = [{url = "http://192.168.1.54:8989";}]; radarr.loadBalancer.servers = [{url = "http://192.168.1.54:7878";}];