Set up Radicale

This commit is contained in:
2019-11-08 14:14:32 +01:00
parent 902235cd58
commit 97a3a9baa2
3 changed files with 23 additions and 12 deletions

View File

@@ -41,20 +41,29 @@
Projects.path = "/vault/syncthing/Projects";
};
};
#relay = {
#enable = true;
#pools = "";
#};
relay = {
enable = true;
pools = [ "" ];
listenAddress = "0.0.0.0";
};
};
# Enable Radicale
services.radicale = {
enable = true;
config = ''
[server]
hosts = 0.0.0.0:5232
max_connections = 20
max_content_length = 100000000
timeout = 30
[auth]
type = htpasswd
htpasswd_filename = /var/lib/radicale/radicale.users
htpasswd_encryption = plain
delay = 1
'';
};
}

View File

@@ -32,7 +32,7 @@
# Firewall configuration
networking.firewall = {
allowedTCPPorts = [ 631 6566 22067 8384 ];
allowedTCPPorts = [ 631 6566 22067 8384 5232 ];
autoLoadConntrackHelpers = true;
connectionTrackingModules = [ "sane" ];
};