Add radicale

This commit is contained in:
Bun 2025-03-19 21:17:08 -04:00
parent 9b49b26673
commit 904ff3a16d
5 changed files with 63 additions and 23 deletions

View file

@ -2,24 +2,22 @@
{
imports = [ ./nginx ];
config = lib.mkIf config.services.mailserver.enable {
services = {
go-autoconfig = {
enable = true;
settings = {
service_addr = ":1323";
domain = "autoconfig.nixfox.ca";
imap = {
server = "mx.nixfox.ca";
port = 143;
};
smtp = {
server = "mx.nixfox.ca";
port = 587;
};
services = lib.mkIf config.services.mailserver.enable {
go-autoconfig = {
enable = true;
settings = {
service_addr = ":1323";
domain = "autoconfig.nixfox.ca";
imap = {
server = "mx.nixfox.ca";
port = 143;
};
smtp = {
server = "mx.nixfox.ca";
port = 587;
};
};
cloudflare-dyndns.domains = [ config.services.go-autoconfig.settings.domain ];
};
cloudflare-dyndns.domains = [ config.services.go-autoconfig.settings.domain ];
};
}