From cb340e679ce44c825b496f0409db0a89efff4efc Mon Sep 17 00:00:00 2001 From: blake Date: Sat, 11 Oct 2025 17:54:48 -0500 Subject: [PATCH] 311 current 2025-10-11 17:44:24 25.05.20251006.20c4598 6.12.50 * --- flake.nix | 2 +- modules/homelab/services/default.nix | 21 +++++++++++---------- modules/homelab/services/default_temp.nix | 19 +++++++++++++++++++ 3 files changed, 31 insertions(+), 11 deletions(-) diff --git a/flake.nix b/flake.nix index 1b7239a..695b338 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ # flake for blakes nixos config # define new devices in outputs -# generation: 310 current 2025-10-11 17:42:26 25.05.20251006.20c4598 6.12.50 * +# generation: 311 current 2025-10-11 17:44:24 25.05.20251006.20c4598 6.12.50 * { description = "blakes nix config"; inputs = { diff --git a/modules/homelab/services/default.nix b/modules/homelab/services/default.nix index 4b907ce..e92a051 100644 --- a/modules/homelab/services/default.nix +++ b/modules/homelab/services/default.nix @@ -3,23 +3,24 @@ { + # services show up in glance in reverse import order lmao imports = [ - ./jellyfin + ./smarthome/zigbee2mqtt ./vaultwarden ./gitea - ./glance - ./qbittorrent ./immich - ./uptime-kuma - ./nginx-proxy ./smarthome/homeassistant - ./smarthome/zigbee2mqtt - ./smarthome/mosquitto - ./arr/prowlarr - ./arr/flaresolverr ./arr/bazarr - ./arr/sonarr + ./arr/prowlarr + ./qbittorrent ./arr/radarr + ./arr/sonarr + ./jellyfin + ./nginx-proxy + ./arr/flaresolverr + ./smarthome/mosquitto + ./uptime-kuma + ./glance ]; } diff --git a/modules/homelab/services/default_temp.nix b/modules/homelab/services/default_temp.nix index 834468a..a027279 100644 --- a/modules/homelab/services/default_temp.nix +++ b/modules/homelab/services/default_temp.nix @@ -85,6 +85,9 @@ in proxyPass = "http://127.0.0.1:${toString cfg.port}"; }; }; + +# uncomment for service hosted publicly +#--------------------------------------------------------------------------- # # external reverse proxy entry # services.nginx.virtualHosts."${service}.blakedheld.xyz" = { # forceSSL = true; @@ -95,6 +98,22 @@ in # }; # }; # +# # add to glance public service +# modules.services.glance.links. = [{ +# title = service; +# url = "https://pass.${homelab.public_domain}"; +# error-url = "http://${homelab.host_ip}:${toString cfg.port}"; +# check-url = "http://${homelab.host_ip}:${toString cfg.port}"; +# icon = "di:${service}"; }]; +#--------------------------------------------------------------------------- +# # add to glance local service +# modules.services.glance.links. = [{ +# title = service; +# url = "https://${cfg.url}"; +# error-url = "http://${homelab.host_ip}:${toString cfg.port}"; +# check-url = "http://${homelab.host_ip}:${toString cfg.port}"; +# icon = "di:${service}"; }]; +# # sops.secrets = { # "${service}_" = { # owner = "${service}";