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