fix: better email config, now with dns records

Deals with #32
This commit is contained in:
silver 2023-10-13 11:21:26 +01:00
parent 19a7476278
commit bea98fc9fc
3 changed files with 26 additions and 4 deletions

View file

@ -88,6 +88,11 @@
; ------------------------------------------
${format_records (filter_records_type "TXT") 29}
; ------------------------------------------
; MX
; ------------------------------------------
${format_records (filter_records_type "MX") 29}
; ------------------------------------------
; SRV
; ------------------------------------------
@ -317,7 +322,7 @@ in {
type = str;
};
r_type = lib.mkOption {
type = enum ["A" "CNAME" "TXT" "PTR" "SRV"];
type = enum ["A" "CNAME" "TXT" "PTR" "SRV" "MX"];
};
value = lib.mkOption {
type = str;