Define metricsPort everywhere
This commit is contained in:
parent
7a08fbbd41
commit
22cbee82b3
|
@ -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}";
|
||||||
|
|
Loading…
Reference in New Issue