feat: got email working

Closes #1
This commit is contained in:
silver 2023-10-01 21:24:02 +01:00
parent fa422ce69c
commit 18155ec6e1
2 changed files with 5 additions and 6 deletions

View file

@ -118,7 +118,7 @@ in {
{
record = "${cfg.domain}.";
r_type = "TXT";
value = ''"v=spf1 a:${cfg.sub}.${cfg.domain} -all"'';
value = ''"v=spf1 a:${cfg.sub}.${cfg.domain} a:gitlab.skynet.ie -all"'';
}
# DKIM keys

View file

@ -174,11 +174,10 @@ in {
*/
};
};
#smtp = {
# enable = true;
# address = "localhost";
# port = 25;
#};
# use the local email client
smtp.enable = true;
secrets = {
dbFile = config.age.secrets.gitlab_secrets_db.path;
secretFile = config.age.secrets.gitlab_secrets_secret.path;