mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-29 09:58:29 +02:00
mailserver fixes
This commit is contained in:
parent
6972c8d5dd
commit
d337c62451
5 changed files with 84 additions and 68 deletions
|
@ -1,8 +1,17 @@
|
|||
{ ... }:
|
||||
{
|
||||
mailserver = {
|
||||
sops.secrets."mail/rouven".owner = config.users.users.postfix.name;
|
||||
mailserver = rec {
|
||||
enable = true;
|
||||
fqdn = "mail.rfive.de";
|
||||
domains = [ "rfive.de" ];
|
||||
loginAccounts = {
|
||||
"rouven@rfive.de" = {
|
||||
name = "Rouven Seifert";
|
||||
hashedPasswordFile = config.sops.secrets."mail/rouven".path;
|
||||
|
||||
};
|
||||
};
|
||||
certificateScheme = 3;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -7,6 +7,11 @@
|
|||
recommendedProxySettings = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
|
||||
virtualHosts."rfive.de" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
};
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue