diff --git a/shared/server-configuration.nix b/shared/server-configuration.nix index 8e23f9e..d66e837 100644 --- a/shared/server-configuration.nix +++ b/shared/server-configuration.nix @@ -153,14 +153,16 @@ in services.radicale = lib.mkIf srvConfig.caldavEnable { enable = true; - # Run server port 5232 - server = { - hosts = [ "0.0.0.0:5232" "[::]:5232" ]; - }; - auth = { - type = "htpasswd"; - htpasswd_filename = "/home/luci/.config/radicale/rad_pass"; - htpasswd_encryption = "bcrypt"; + settings = { + # Run server port 5232 + server = { + hosts = [ "0.0.0.0:5232" "[::]:5232" ]; + }; + auth = { + type = "htpasswd"; + htpasswd_filename = "/home/luci/.config/radicale/rad_pass"; + htpasswd_encryption = "bcrypt"; + }; }; };