306 current 2025-10-11 17:04:37 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-11 17:24:32 -05:00
parent 7326275c09
commit 3f0900ed10
15 changed files with 113 additions and 48 deletions

View File

@@ -18,7 +18,7 @@ in
};
url = lib.mkOption {
type = lib.types.str;
default = "${service}.${homelab.base_domain}";
default = "z2m.${homelab.base_domain}";
description = "set domain for ${service}";
};
data_dir = lib.mkOption {
@@ -111,6 +111,14 @@ in
};
};
# add to glance
modules.services.glance.links.services = [{
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}"; }];
# add to backups
modules.system.backups.baks = {
${service} = { paths = [ cfg.data_dir ]; };