mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 13:23:11 +01:00
14 lines
233 B
Nix
14 lines
233 B
Nix
{ config, ... }:
|
|
let
|
|
domain = "mail.${config.networking.domain}";
|
|
in
|
|
{
|
|
imports = [
|
|
./postfix.nix
|
|
./dovecot2.nix
|
|
./rspamd.nix
|
|
];
|
|
# acquire certificates
|
|
services.caddy.virtualHosts."${domain}".extraConfig = "";
|
|
}
|