309 current 2025-10-11 17:35:20 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-11 17:42:29 -05:00
parent d759a3e747
commit 03cff3b3e0
7 changed files with 17 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
# flake for blakes nixos config
# define new devices in outputs
# generation: 308 current 2025-10-11 17:30:56 25.05.20251006.20c4598 6.12.50 *
# generation: 309 current 2025-10-11 17:35:20 25.05.20251006.20c4598 6.12.50 *
{
description = "blakes nix config";
inputs = {

View File

@@ -27,6 +27,11 @@ in
type = lib.types.str;
description = "base domain used for reverse proxy";
};
public_domain = lib.mkOption {
default = "snowbelle.lan";
type = lib.types.str;
description = "base domain used for reverse proxy";
};
host_ip = lib.mkOption {
default = "10.10.0.10";
type = lib.types.str;

View File

@@ -118,8 +118,8 @@ in
# add to glance
modules.services.glance.links.services = [{
title = service;
url = "https://git.${homelab.base_domain}";
error-url = "http://${cfg.url}:${toString cfg.port}";
url = "https://git.${homelab.public_domain}";
error-url = "http://${homelab.host_ip}:${toString cfg.port}";
check-url = "http://${homelab.host_ip}:${toString cfg.port}";
icon = "di:${service}"; }];

View File

@@ -99,8 +99,8 @@ in
# add to glance
modules.services.glance.links.services = [{
title = service;
url = "https://photos.${homelab.base_domain}";
error-url = "http://${cfg.url}:${toString cfg.port}";
url = "https://photos.${homelab.public_domain}";
error-url = "http://${homelab.host_ip}:${toString cfg.port}";
check-url = "http://${homelab.host_ip}:${toString cfg.port}";
icon = "di:${service}"; }];

View File

@@ -93,8 +93,8 @@ in
# add to glance
modules.services.glance.links.mediastack = [{
title = service;
url = "https://media.${homelab.base_domain}";
error-url = "http://${cfg.url}:${toString cfg.port}";
url = "https://media.${homelab.public_domain}";
error-url = "http://${homelab.host_ip}:${toString cfg.port}";
check-url = "http://${homelab.host_ip}:${toString cfg.port}";
icon = "di:${service}"; }];

View File

@@ -121,9 +121,9 @@ in
# add to glance
modules.services.glance.links.services = [{
title = service;
url = "https://hass.${homelab.base_domain}";
error-url = "http://${cfg.url}:${toString cfg.port}";
title = "home assistant";
url = "https://hass.${homelab.public_domain}";
error-url = "http://${homelab.host_ip}:${toString cfg.port}";
check-url = "http://${homelab.host_ip}:${toString cfg.port}";
icon = "di:${nixservice}"; }];

View File

@@ -113,8 +113,8 @@ in
# add to glance
modules.services.glance.links.services = [{
title = service;
url = "https://${homelab.base_domain}";
error-url = "http://${cfg.url}:${toString cfg.port}";
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}"; }];