From f91bea33340078dce7bc6a4e4a79eff67dfbb75e Mon Sep 17 00:00:00 2001 From: Nathan Anderson Date: Wed, 15 May 2024 10:23:31 -0600 Subject: [PATCH] Put in settings --- shared/server-configuration.nix | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) 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"; + }; }; };