{ config, lib, pkgs, ... }: { services.glance = { enable = true; settings.server.port = 8888; settings.server.host = "0.0.0.0"; openFirewall = false; settings = { pages = [ { name = "Home"; hide-desktop-navigation = true; columns = [ { size = "full"; widgets = [ { type = "group"; widgets = [ { type = "clock"; hour-format = "24h"; timezones = [ { timezone = "Australia/Sydney"; label = "Sydney"; } { timezone = "Europe/London"; label = "London"; } { timezone = "Europe/Moscow"; label = "Moscow"; } ]; } { type = "weather"; location = "Sydney, Australia"; units = "metric"; # alternatively "imperial" hour-format = "12h"; # alternatively "24h" } { type = "calendar"; first-day-of-week = "monday"; } ]; } { type = "bookmarks"; groups = [ { title = "Media"; color = "10 70 50"; links = [ { title = "Jellyfin"; url = "https://watch.${config.homelab.domain}"; } { title = "Jellyseer"; url = "https://jellyseer.${config.homelab.domain}"; } { title = "Radarr"; url = "https://radarr.${config.homelab.domain}"; } { title = "Sonarr"; url = "https://sonarr.${config.homelab.domain}"; } { title = "Lidarr"; url = "https://lidarr.${config.homelab.domain}"; } { title = "Prowlarr"; url = "https://prowlarr.${config.homelab.domain}"; } { title = "Bazarr"; url = "https://bazarr.${config.homelab.domain}"; } { title = "Deluge"; url = "https://deluge.${config.homelab.domain}"; } ]; } { title = "Sync"; color = "120 73 75"; links = [ { title = "Miniflux"; url = "https://rss.${config.homelab.domain}"; } ]; } ]; } ]; } ]; } ]; }; }; services.caddy.virtualHosts."${config.homelab.domain}" = { useACMEHost = config.homelab.domain; extraConfig = '' reverse_proxy http://localhost:8888 ''; }; }