diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-07-29 06:54:49 -0500 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-07-29 06:54:49 -0500 |
| commit | e29dd8a2283399b7e046937340509d5aec4b52ba (patch) | |
| tree | aa679e70fe55cb620698ab1695eadf23f8a2cdba /modules/services/nixos/glance.nix | |
| parent | d2aecd69c17fa64305c07333686576152432993d (diff) | |
changes
Diffstat (limited to 'modules/services/nixos/glance.nix')
| -rw-r--r-- | modules/services/nixos/glance.nix | 32 |
1 files changed, 4 insertions, 28 deletions
diff --git a/modules/services/nixos/glance.nix b/modules/services/nixos/glance.nix index 1396562..38e5e1d 100644 --- a/modules/services/nixos/glance.nix +++ b/modules/services/nixos/glance.nix @@ -8,6 +8,8 @@ pure = x: [x]; + servicesLinks = builtins.attrValues cfg.homelabServices; + settings = { server = { inherit (cfg) port; @@ -68,33 +70,7 @@ type = "monitor"; cache = "1m"; title = "Services"; - sites = [ - { - title = "stats"; - url = "https://stats.ganymede"; - icon = "mdi:poll"; - } - { - title = "btop"; - url = "https://btop.ganymede"; - icon = "si:htop"; - } - { - title = "git"; - url = "https://git.ganymede"; - icon = "si:git"; - } - { - title = "bittorrent"; - url = "https://bittorrent.ganymede"; - icon = "si:qbittorrent"; - } - { - title = "website"; - url = "https://williamsfam.us.com"; - icon = "mdi:web"; - } - ]; + sites = servicesLinks; } ]; }; @@ -117,6 +93,7 @@ in { restartIfChanged = true; wants = ["network-online.target"]; after = ["network-online.target"]; + wantedBy = ["multi-user.target"]; serviceConfig = { User = "glance"; @@ -138,7 +115,6 @@ in { services.caddy.virtualHosts."home.ganymede".extraConfig = '' tls internal - reverse_proxy 127.0.0.1:${toString cfg.port} ''; }; |
