mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-10 04:49:19 -08:00
services/mail: weh
This commit is contained in:
parent
94caeae756
commit
9c73f4b41f
4 changed files with 12 additions and 2 deletions
|
|
@ -1,9 +1,16 @@
|
|||
{ config, ... }: {
|
||||
{ config, lib, ... }: with lib; {
|
||||
services.roundcube = {
|
||||
enable = true;
|
||||
hostName = "mail.${config.network.dns.domain}";
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."mail.${config.network.dns.domain}" = {
|
||||
useACMEHost = "dovecot_domains";
|
||||
enableACME = mkForce false;
|
||||
};
|
||||
|
||||
users.users.nginx.extraGroups = singleton "postfix";
|
||||
|
||||
deploy.tf.dns.records.services_roundcube = {
|
||||
inherit (config.network.dns) zone;
|
||||
domain = "mail";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue