summaryrefslogtreecommitdiff
path: root/hosts/radicale/radicale.nix
diff options
context:
space:
mode:
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";
+ };
+ };
+ };
+}