summaryrefslogtreecommitdiff
path: root/hosts/radicale/radicale.nix
diff options
context:
space:
mode:
authorGrigory Shipunov2025-01-19 23:04:04 +0000
committerGrigory Shipunov2025-01-20 18:07:35 +0000
commitedc0ae406202658c3f17b7433694e942c62b38c7 (patch)
tree896c347779be66acfa47d91903779c5414e70b1e /hosts/radicale/radicale.nix
parentc3253a88e64ce5112f129919bb88023c9eea98a1 (diff)
add basic radicale config
Diffstat (limited to 'hosts/radicale/radicale.nix')
-rw-r--r--hosts/radicale/radicale.nix18
1 files changed, 18 insertions, 0 deletions
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";
+ };
+ };
+ };
+}