Commit ede0c2d5ff53

Vincent Demeester <vincent@sbr.pm>
2026-11-24 14:55:06
feat: Updated homepage service links
Updated the dashboard to reflect current services and allowed aion host addresses for direct access. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 266a008
Changed files (1)
systems
common
systems/common/services/homepage.nix
@@ -8,12 +8,18 @@ let
   rheaIPs = globals.machines.rhea.net.ips;
   rheaVPNIPs = globals.machines.rhea.net.vpn.ips;
   rheaDomains = globals.machines.rhea.net.names;
+  aionIPs = globals.machines.aion.net.ips;
+  aionVPNIPs = globals.machines.aion.net.vpn.ips;
+  aionDomains = globals.machines.aion.net.names;
 
-  # Build allowed hosts list from all rhea addresses
+  # Build allowed hosts list from aion and existing rhea addresses
   allowedHosts = lib.concatStringsSep "," (
     rheaDomains
     ++ rheaIPs
     ++ rheaVPNIPs
+    ++ aionDomains
+    ++ aionIPs
+    ++ aionVPNIPs
     ++ [
       "127.0.0.1"
       "localhost"
@@ -44,8 +50,6 @@ in
   # This module provides a centralized dashboard for monitoring homelab services.
   # Services are configured with widgets for real-time statistics where supported.
   #
-  # TODO: Migrate Homepage to aion when that server is set up for web services
-
   services.homepage-dashboard = {
     enable = true;
     listenPort = 3001;
@@ -216,6 +220,15 @@ in
               statusStyle = "dot";
             };
           }
+          {
+            "Liseur Sync" = {
+              description = "Ebook Library";
+              href = "https://liseur.sbr.pm";
+              icon = "si-bookstack";
+              ping = "https://liseur.sbr.pm";
+              statusStyle = "dot";
+            };
+          }
           {
             Immich = {
               description = "Photo Management";
@@ -349,6 +362,38 @@ in
       }
       {
         "Other Services" = [
+          {
+            Wallabag = {
+              description = "Read Later";
+              href = "https://wallabag.sbr.pm";
+              icon = "wallabag.png";
+              ping = "https://wallabag.sbr.pm";
+              statusStyle = "dot";
+            };
+          }
+          {
+            Miniflux = {
+              description = "RSS Reader";
+              href = "https://miniflux.sbr.pm";
+              icon = "miniflux.png";
+              ping = "https://miniflux.sbr.pm";
+              statusStyle = "dot";
+            };
+          }
+          {
+            Joplin = {
+              description = "Notes Sync";
+              href = "https://joplin.sbr.pm";
+              icon = "joplin.png";
+            };
+          }
+          {
+            OpenCode = {
+              description = "Remote AI Coding";
+              href = "https://opencode.sbr.pm";
+              icon = "si-terminal";
+            };
+          }
           {
             Paperless = {
               description = "Document Management";
@@ -524,7 +569,7 @@ in
   # Open firewall for local access
   networking.firewall.allowedTCPPorts = [ 3001 ];
 
-  # Allow requests from all rhea domains and IPs (from globals.nix)
+  # Allow requests from aion and existing rhea domains and IPs
   systemd.services.homepage-dashboard = {
     environment = {
       HOMEPAGE_ALLOWED_HOSTS = lib.mkForce allowedHosts;