From 4217361e011b0a8ef872f3fb6a0532e94b1d753f Mon Sep 17 00:00:00 2001 From: Evan Cassidy Date: Mon, 24 Jul 2023 14:52:05 +0000 Subject: [PATCH] added SRV to enum and part at the top, not sure about number at the end of the format_records --- applications/dns.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/applications/dns.nix b/applications/dns.nix index 05528f9..4a5e9ff 100644 --- a/applications/dns.nix +++ b/applications/dns.nix @@ -80,6 +80,12 @@ ${format_records sort_records_cname 31} ; ------------------------------------------ ${format_records (filter_records_type "TXT") 29} +; ------------------------------------------ +; SRV +; ------------------------------------------ +${format_records (filter_records_type "SRV") 29} + + '' ); @@ -283,7 +289,7 @@ in { type = str; }; r_type = lib.mkOption { - type = enum ["A" "CNAME" "TXT" "PTR"]; + type = enum ["A" "CNAME" "TXT" "PTR" "SRV"]; }; value = lib.mkOption { type = str;