Skip to content

Radicale

A simple CalDAV and CardDAV server.

View the nix-core NixOS module on GitHub.

References

Sops

Provide every user's SHA512 hashed password to your host's secrets.yaml:

Replace abc123 with your actual secrets

radicale:
    user1: abc123
    user2: abc123
    # ...

Generate hashed passwords with:

nix-shell -p openssl --run 'passwd -6 <password>'

Setup

Set a CNAME record for your Radicale subdomain (dav by default) pointing to your domain.

Config

{ inputs, ... }:

{
  imports = [ inputs.core.nixosModules.radicale ];

  services.radicale = {
    enable = true;
    users = [
      "user1"
      "user2"
    ];
  };
}