Update post master

This commit is contained in:
Invariantspace 2025-06-24 00:33:08 -05:00 committed by macronova
parent df97e55c8d
commit aac7a9723b
Signed by: macronova
GPG key ID: CE969670FB4B4A56
2 changed files with 3 additions and 3 deletions

View file

@ -52,7 +52,7 @@ with lib; {
};
postMaster = mkOption {
type = types.str;
default = "trivial@${config.constants.domain}";
default = "${config.constants.userName}@${config.constants.domain}";
description = ''
The post master email address.
'';

View file

@ -9,8 +9,8 @@ in {
domains = [domain];
loginAccounts = {
"${userName}@${domain}" = {
aliases = [postMaster];
"${postMaster}" = {
aliases = ["trivial@${domain}"];
hashedPasswordFile = config.sops.secrets.${userSecret}.path;
};
${config.services.vaultwarden.config.SMTP_FROM}.hashedPasswordFile = config.sops.secrets.${vaultwardenSecret}.path;