From 44d0f54b477ca1d370d0b6c2fa06f5400e151e42 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sat, 13 Aug 2022 12:48:36 +0300 Subject: 2022-08-13 --- lib/my.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'lib/my.nix') diff --git a/lib/my.nix b/lib/my.nix index f7c4141..165074b 100644 --- a/lib/my.nix +++ b/lib/my.nix @@ -70,6 +70,13 @@ with lib; }; }; + # TODO Automate filling of this from the NSD service module. + # Right now I need to copy domain defenitions from there to here + # manually. + # + # Something like taking `config.services.nsd.zones[$domain]` and + # filtering for actual subdomains. We can remove this option + # altogether then. domains = mkOption { description = "External domains that resovle to this address."; type = listOf str; @@ -128,10 +135,13 @@ with lib; publicKey = "[REDACTED]"; }; domains = with my.domain; [ + "alertmanager.${shire}" "frodo.${rohan}" "frodo.${gondor}" "gotify.${shire}" - "monitoring.${shire}" + "grafana.${shire}" + "loki.${shire}" + "prometheus.${shire}" azahi rohan gondor -- cgit v1.2.3