fix uberspace mail records
This commit is contained in:
@@ -41,6 +41,12 @@ let
|
||||
};
|
||||
default = { };
|
||||
};
|
||||
TXT = lib.mkOption {
|
||||
type = lib.types.submodule {
|
||||
options = types.ttlOptions cfg.defaults.ttl;
|
||||
};
|
||||
default = { };
|
||||
};
|
||||
} // (types.ttlOptions 3600);
|
||||
};
|
||||
aRecord = lib.types.submodule {
|
||||
@@ -106,6 +112,18 @@ let
|
||||
};
|
||||
};
|
||||
};
|
||||
txtRecord = lib.types.submodule {
|
||||
options = {
|
||||
values = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [ ];
|
||||
};
|
||||
ttl = lib.mkOption {
|
||||
type = lib.types.int;
|
||||
default = cfg.defaults.AAAA.ttl;
|
||||
};
|
||||
};
|
||||
};
|
||||
records = lib.types.submodule {
|
||||
options = {
|
||||
A = lib.mkOption {
|
||||
@@ -124,6 +142,10 @@ let
|
||||
type = types.mxRecord;
|
||||
default = { };
|
||||
};
|
||||
TXT = lib.mkOption {
|
||||
type = types.txtRecord;
|
||||
default = { };
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user