Put in settings

This commit is contained in:
Nathan Anderson 2024-05-15 10:23:31 -06:00
parent 63d8d1ceb9
commit f91bea3334

View File

@ -153,14 +153,16 @@ in
services.radicale = lib.mkIf srvConfig.caldavEnable { services.radicale = lib.mkIf srvConfig.caldavEnable {
enable = true; enable = true;
# Run server port 5232 settings = {
server = { # Run server port 5232
hosts = [ "0.0.0.0:5232" "[::]:5232" ]; server = {
}; hosts = [ "0.0.0.0:5232" "[::]:5232" ];
auth = { };
type = "htpasswd"; auth = {
htpasswd_filename = "/home/luci/.config/radicale/rad_pass"; type = "htpasswd";
htpasswd_encryption = "bcrypt"; htpasswd_filename = "/home/luci/.config/radicale/rad_pass";
htpasswd_encryption = "bcrypt";
};
}; };
}; };