Add radicale
This commit is contained in:
parent
9b49b26673
commit
904ff3a16d
5 changed files with 63 additions and 23 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue