From edc0ae406202658c3f17b7433694e942c62b38c7 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Sun, 19 Jan 2025 23:04:04 +0000 Subject: add basic radicale config --- hosts/radicale/radicale.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 hosts/radicale/radicale.nix (limited to 'hosts/radicale/radicale.nix') diff --git a/hosts/radicale/radicale.nix b/hosts/radicale/radicale.nix new file mode 100644 index 0000000..37de7b5 --- /dev/null +++ b/hosts/radicale/radicale.nix @@ -0,0 +1,18 @@ +{ ... }: +{ + services.radicale = { + enable = true; + settings = { + server = { + hosts = [ "0.0.0.0:5232" "[::]:5232" ]; + ssl = "False"; + }; + auth = { + type = "http_x_remote_user"; + }; + rights = { + type = "owner_only"; + }; + }; + }; +} -- cgit v1.3.1