309 current 2025-10-11 17:35:20 25.05.20251006.20c4598 6.12.50 *
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# flake for blakes nixos config
|
# flake for blakes nixos config
|
||||||
# define new devices in outputs
|
# 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";
|
description = "blakes nix config";
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|||||||
@@ -27,6 +27,11 @@ in
|
|||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
description = "base domain used for reverse proxy";
|
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 {
|
host_ip = lib.mkOption {
|
||||||
default = "10.10.0.10";
|
default = "10.10.0.10";
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
|
|||||||
@@ -118,8 +118,8 @@ in
|
|||||||
# add to glance
|
# add to glance
|
||||||
modules.services.glance.links.services = [{
|
modules.services.glance.links.services = [{
|
||||||
title = service;
|
title = service;
|
||||||
url = "https://git.${homelab.base_domain}";
|
url = "https://git.${homelab.public_domain}";
|
||||||
error-url = "http://${cfg.url}:${toString cfg.port}";
|
error-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
||||||
check-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
check-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
||||||
icon = "di:${service}"; }];
|
icon = "di:${service}"; }];
|
||||||
|
|
||||||
|
|||||||
@@ -99,8 +99,8 @@ in
|
|||||||
# add to glance
|
# add to glance
|
||||||
modules.services.glance.links.services = [{
|
modules.services.glance.links.services = [{
|
||||||
title = service;
|
title = service;
|
||||||
url = "https://photos.${homelab.base_domain}";
|
url = "https://photos.${homelab.public_domain}";
|
||||||
error-url = "http://${cfg.url}:${toString cfg.port}";
|
error-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
||||||
check-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
check-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
||||||
icon = "di:${service}"; }];
|
icon = "di:${service}"; }];
|
||||||
|
|
||||||
|
|||||||
@@ -93,8 +93,8 @@ in
|
|||||||
# add to glance
|
# add to glance
|
||||||
modules.services.glance.links.mediastack = [{
|
modules.services.glance.links.mediastack = [{
|
||||||
title = service;
|
title = service;
|
||||||
url = "https://media.${homelab.base_domain}";
|
url = "https://media.${homelab.public_domain}";
|
||||||
error-url = "http://${cfg.url}:${toString cfg.port}";
|
error-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
||||||
check-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
check-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
||||||
icon = "di:${service}"; }];
|
icon = "di:${service}"; }];
|
||||||
|
|
||||||
|
|||||||
@@ -121,9 +121,9 @@ in
|
|||||||
|
|
||||||
# add to glance
|
# add to glance
|
||||||
modules.services.glance.links.services = [{
|
modules.services.glance.links.services = [{
|
||||||
title = service;
|
title = "home assistant";
|
||||||
url = "https://hass.${homelab.base_domain}";
|
url = "https://hass.${homelab.public_domain}";
|
||||||
error-url = "http://${cfg.url}:${toString cfg.port}";
|
error-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
||||||
check-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
check-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
||||||
icon = "di:${nixservice}"; }];
|
icon = "di:${nixservice}"; }];
|
||||||
|
|
||||||
|
|||||||
@@ -113,8 +113,8 @@ in
|
|||||||
# add to glance
|
# add to glance
|
||||||
modules.services.glance.links.services = [{
|
modules.services.glance.links.services = [{
|
||||||
title = service;
|
title = service;
|
||||||
url = "https://${homelab.base_domain}";
|
url = "https://pass.${homelab.public_domain}";
|
||||||
error-url = "http://${cfg.url}:${toString cfg.port}";
|
error-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
||||||
check-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
check-url = "http://${homelab.host_ip}:${toString cfg.port}";
|
||||||
icon = "di:${service}"; }];
|
icon = "di:${service}"; }];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user