Devariable domains
This commit is contained in:
parent
2c4749f2cc
commit
984b12819e
55 changed files with 152 additions and 179 deletions
|
@ -8,46 +8,46 @@
|
|||
mailserver = rec {
|
||||
enable = config.system.mailserver.enable;
|
||||
domains = [
|
||||
"${config.domains.p2}"
|
||||
"${config.domains.blox}"
|
||||
"${config.domains.luna}"
|
||||
"${config.domains.corn}"
|
||||
"nixfox.ca"
|
||||
"bloxelcom.net"
|
||||
"freecorn1854.win"
|
||||
"lunamoonlight.xyz"
|
||||
];
|
||||
fqdn = "mx.${config.domains.p2}";
|
||||
fqdn = "mx.nixfox.ca";
|
||||
certificateScheme = "acme-nginx";
|
||||
localDnsResolver = false;
|
||||
redis.port = 1515;
|
||||
|
||||
# Passwords made with 'mkpasswd -sm bcrypt'
|
||||
loginAccounts = {
|
||||
"noreply@${config.domains.p2}" = {
|
||||
"noreply@nixfox.ca" = {
|
||||
hashedPasswordFile = pkgs.writeText "noreply" config.secrets.noreplyMailHash;
|
||||
sendOnly = true;
|
||||
};
|
||||
"jimbo@${config.domains.p2}" = {
|
||||
"jimbo@nixfox.ca" = {
|
||||
hashedPasswordFile = pkgs.writeText "jimbo" config.secrets.jimboMailHash;
|
||||
aliases = [
|
||||
"james@${config.domains.p2}"
|
||||
"jimbo@${config.domains.blox}"
|
||||
"james@nixfox.ca"
|
||||
"jimbo@bloxelcom.net"
|
||||
|
||||
"vice@${config.domains.p2}"
|
||||
"vice@${config.domains.blox}"
|
||||
"yara@${config.domains.p2}"
|
||||
"vice@nixfox.ca"
|
||||
"vice@bloxelcom.net"
|
||||
"yara@nixfox.ca"
|
||||
|
||||
"contact@${config.domains.p2}"
|
||||
"contact@nixfox.ca"
|
||||
];
|
||||
};
|
||||
"luna@${config.domains.luna}" = {
|
||||
"luna@lunamoonlight.xyz" = {
|
||||
hashedPasswordFile = pkgs.writeText "luna" config.secrets.lunaMailHash;
|
||||
aliases = [
|
||||
"luna@${config.domains.blox}"
|
||||
"contact@${config.domains.blox}"
|
||||
"ibu@${config.domains.blox}"
|
||||
"luna@bloxelcom.net"
|
||||
"contact@bloxelcom.net"
|
||||
"ibu@bloxelcom.net"
|
||||
];
|
||||
};
|
||||
"contact@${config.domains.corn}" = {
|
||||
"contact@freecorn1854.win" = {
|
||||
hashedPasswordFile = pkgs.writeText "corn" config.secrets.cornMailHash;
|
||||
aliases = [ "freecorn@${config.domains.blox}" ];
|
||||
aliases = [ "freecorn@bloxelcom.net" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue