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}."; record = "${cfg.domain}.";
r_type = "TXT"; 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 # DKIM keys

View file

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