Make sure to keep transient mail data over boots
This commit is contained in:
parent
9d5e943468
commit
e36b662279
1 changed files with 9 additions and 0 deletions
|
@ -8,6 +8,15 @@ in
|
|||
options.chvp.services.mail.enable = lib.mkEnableOption "mail";
|
||||
|
||||
config = lib.mkIf config.chvp.services.mail.enable {
|
||||
chvp.base.zfs.systemLinks = [
|
||||
{ path = "/var/lib/dhparams"; type = "cache"; }
|
||||
{ path = "/var/lib/dovecot"; type = "cache"; }
|
||||
{ path = "/var/lib/knot-resolver"; type = "cache"; }
|
||||
{ path = "/var/lib/opendkim"; type = "cache"; }
|
||||
{ path = "/var/lib/postfix"; type = "cache"; }
|
||||
{ path = "/var/lib/redis-rspamd"; type = "cache"; }
|
||||
{ path = "/var/lib/rspamd"; type = "cache"; }
|
||||
];
|
||||
mailserver = {
|
||||
enable = true;
|
||||
fqdn = "mail.vanpetegem.me";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue