Update post master
This commit is contained in:
parent
df97e55c8d
commit
095a65929e
2 changed files with 3 additions and 3 deletions
|
|
@ -52,7 +52,7 @@ with lib; {
|
||||||
};
|
};
|
||||||
postMaster = mkOption {
|
postMaster = mkOption {
|
||||||
type = types.str;
|
type = types.str;
|
||||||
default = "trivial@${config.constants.domain}";
|
default = "${config.constants.userName}@${config.constants.domain}";
|
||||||
description = ''
|
description = ''
|
||||||
The post master email address.
|
The post master email address.
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,8 @@ in {
|
||||||
domains = [domain];
|
domains = [domain];
|
||||||
|
|
||||||
loginAccounts = {
|
loginAccounts = {
|
||||||
"${userName}@${domain}" = {
|
"${postMaster}" = {
|
||||||
aliases = [postMaster];
|
aliases = ["trivial@${domain}"];
|
||||||
hashedPasswordFile = config.sops.secrets.${userSecret}.path;
|
hashedPasswordFile = config.sops.secrets.${userSecret}.path;
|
||||||
};
|
};
|
||||||
${config.services.vaultwarden.config.SMTP_FROM}.hashedPasswordFile = config.sops.secrets.${vaultwardenSecret}.path;
|
${config.services.vaultwarden.config.SMTP_FROM}.hashedPasswordFile = config.sops.secrets.${vaultwardenSecret}.path;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue