Define metricsPort everywhere

This commit is contained in:
niten 2023-09-23 16:20:37 -07:00
parent 7a08fbbd41
commit 22cbee82b3
1 changed files with 1 additions and 1 deletions

View File

@ -5,6 +5,7 @@ let
cfg = config.fudo.mail; cfg = config.fudo.mail;
hostname = config.instance.hostname; hostname = config.instance.hostname;
hostSecrets = config.fudo.secrets.host-secrets."${hostname}"; hostSecrets = config.fudo.secrets.host-secrets."${hostname}";
metricsPort = 5034;
in { in {
options.fudo.mail = with types; { options.fudo.mail = with types; {
@ -180,7 +181,6 @@ in {
lmtpPort = 24; lmtpPort = 24;
authPort = 5447; authPort = 5447;
userdbPort = 5448; userdbPort = 5448;
metricsPort = 5034;
mkUserMap = username: mkUserMap = username:
let uid = config.users.users."${username}".uid; let uid = config.users.users."${username}".uid;
in "${uid}:${uid}"; in "${uid}:${uid}";