From 7bdae87de334941f822bb83fca77eca1fe1febaa Mon Sep 17 00:00:00 2001 From: niten Date: Sat, 11 May 2024 13:58:17 -0700 Subject: [PATCH] Add public/tailscale domain types for nexus --- lib/fudo/domains.nix | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/lib/fudo/domains.nix b/lib/fudo/domains.nix index 44da653..f066bc0 100644 --- a/lib/fudo/domains.nix +++ b/lib/fudo/domains.nix @@ -187,10 +187,26 @@ let default = null; }; - nexus.domains = mkOption { - type = listOf str; - description = "Nexus domains to which hosts in this domain belong."; - default = [ ]; + nexus = { + public-domains = mkOption { + type = listOf str; + description = "Nexus domains to which hosts in this domain belong."; + default = [ ]; + }; + + private-domains = mkOption { + type = listOf str; + description = + "Nexus private domains to which hosts in this domain belong."; + default = [ ]; + }; + + tailscale-domains = mkOption { + type = listOf str; + description = + "Nexus tailscale domains to which hosts in this domain belong."; + default = [ ]; + }; }; }; };