summaryrefslogtreecommitdiff
path: root/profiles/homeserver/radicale.nix
blob: 6f0724569c13443933946a3716f8ac6cd566b7d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ lib, ... }: with lib; {
  services.nginx = {
    virtualHosts."cal.${my.domain}"  = {
      locations."/" = {
        proxyPass = "http://127.0.0.1:5232";
      };
    };
  };
  services.radicale = {
    enable = true;
    settings.server.hosts = [ "0.0.0.0:5232" ];
  };
}