added SRV to enum and part at the top, not sure about number at the end of the format_records

This commit is contained in:
evanc 2023-07-24 14:52:05 +00:00
parent c5c967db43
commit 4217361e01

View file

@ -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;