feat: updates ?

This commit is contained in:
Xavier Morel
2026-06-24 15:56:42 +02:00
parent ab98aeb897
commit 16eded0455
25 changed files with 109 additions and 83 deletions
+21
View File
@@ -0,0 +1,21 @@
{
config,
...
}:
{
services.postfix = {
enable = true;
enableSubmissions = true;
settings.main = {
relayhost = [ "smtp.protonmail.ch:587" ];
smtp_use_tls = "yes";
smtp_tls_security_level = "may";
myhostname = "mail.plg.m0rel.eu";
mydomain = "m0rel.eu";
smtp_sasl_auth_enable = "yes";
smtp_sasl_security_options = "";
smtp_sasl_password_maps = "texthash:${config.age.secrets.mail-smtp-relay.path}";
virtual_alias_maps = "inline:{ { root=home@m0rel.eu } }";
};
};
}
+6 -1
View File
@@ -34,8 +34,13 @@ in
SSO_SCOPES = "openid profile email offline_access";
SSO_ALLOW_UNKNOWN_EMAIL_VERIFICATION = false;
SSO_CLIENT_CACHE_EXPIRATION = 0;
SSO_ONLY = true; # Set to true to disable email and master password login and require SSO
SSO_ONLY = false; # Set to true to disable email and master password login and require SSO
SSO_SIGNUPS_MATCH_EMAIL = true; # Match first SSO login to an existing account by email
SMTP_HOST = "192.168.68.33";
SMTP_PORT = "25";
SMTP_SECURITY = "off";
SMTP_FROM = "home@m0rel.eu";
};
dbBackend = "postgresql";
};