mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-01-19 09:31:38 +01:00
13 lines
233 B
Nix
13 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 = "";
|
|
}
|