about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/my.nix12
1 files changed, 11 insertions, 1 deletions
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

Consider giving Nix/NixOS a try! <3