More nginx config dehardcoding. Did some sshd hardening.
This commit is contained in:
parent
66ca5839e5
commit
e745bdea3d
5 changed files with 15 additions and 7 deletions
|
@ -5,10 +5,10 @@ with lib;
|
|||
mkIf (elem "mailserver" config.machine.services) {
|
||||
mailserver = rec {
|
||||
enable = true;
|
||||
fqdn = "mail.ophanim.de";
|
||||
domains = [ "ophanim.de" ];
|
||||
fqdn = "mail.${config.machine.domain}";
|
||||
domains = [ config.machine.domain ];
|
||||
loginAccounts = {
|
||||
"derped@ophanim.de" = {
|
||||
"derped@${config.machine.domain}" = {
|
||||
hashedPassword = (builtins.readFile /secret/derped.mail);
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue