global/general: setup msmtp with noreply email

This commit is contained in:
Infinidoge 2025-01-16 14:10:34 -05:00
parent f671ab914d
commit 4dfa32ffd4
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
2 changed files with 22 additions and 4 deletions

View file

@ -33,6 +33,7 @@ in
"borg-password" = secrets."borg-password" // { group = "borg"; mode = "440"; };
"binary-cache-private-key" = secrets.binary-cache-private-key // lib.optionalAttrs config.services.hydra.enable { group = "hydra"; mode = "440"; };
"smtp-password" = withGroup "smtp" secrets."smtp-password";
}
(mkIf config.services.nginx.enable {
inherit (secrets) "cloudflare";
@ -43,9 +44,6 @@ in
(mkIf config.services.freshrss.enable {
"freshrss" = withOwnerGroup "freshrss" secrets."freshrss";
})
(mkIf config.services.forgejo.enable {
"smtp-password" = withGroup "smtp" secrets."smtp-password";
})
(mkIf config.services.hydra.enable {
inherit (secrets) hydra;
})