From 68c8052e0c4ec15cc2bab2c0e243518cb290815b Mon Sep 17 00:00:00 2001 From: niten Date: Sat, 11 May 2024 14:33:58 -0700 Subject: [PATCH] Add private/tailscale domains to nexus --- lib/fudo/sites.nix | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/lib/fudo/sites.nix b/lib/fudo/sites.nix index 5851885..618f9b2 100644 --- a/lib/fudo/sites.nix +++ b/lib/fudo/sites.nix @@ -143,11 +143,26 @@ let "If this is a NAT site, this should point to the host acting as network gateway."; default = null; }; + nexus = { + public-domains = mkOption { + type = listOf str; + description = "Nexus domains to which hosts in this domain belong."; + default = [ ]; + }; - nexus.domains = mkOption { - type = listOf str; - description = "Nexus domains to which hosts at this site 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 = [ ]; + }; }; }; };