nixos-config/hosts/falkenstein/modules/mail/default.nix

14 lines
233 B
Nix
Raw Normal View History

2024-03-12 17:07:33 +01:00
{ config, ... }:
2023-07-05 15:55:17 +02:00
let
2024-03-12 17:07:33 +01:00
domain = "mail.${config.networking.domain}";
2023-07-05 15:55:17 +02:00
in
2023-05-24 15:51:58 +02:00
{
2024-03-12 17:07:33 +01:00
imports = [
./postfix.nix
./dovecot2.nix
./rspamd.nix
2023-07-05 15:55:17 +02:00
];
2024-05-23 15:44:49 +02:00
# acquire certificates
services.caddy.virtualHosts."${domain}".extraConfig = "";
2023-05-24 15:51:58 +02:00
}