summaryrefslogtreecommitdiff
path: root/hosts/radicale/radicale.nix
blob: e69b1b5b5c125e9fb25bdc6b7bc9d8d84601b9b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ config, ... }:
{
  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";
      };
    };
  };
}