depot/third_party/nixpkgs/nixos/modules/services/web-apps/davis.md
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

937 B

Davis

Davis is a caldav and carrddav server. It has a simple, fully translatable admin interface for sabre/dav based on Symfony 5 and Bootstrap 5, initially inspired by Baïkal.

Basic Usage

At first, an application secret is needed, this can be generated with:

$ cat /dev/urandom | tr -dc a-zA-Z0-9 | fold -w 48 | head -n 1

After that, davis can be deployed like this:

{
  services.davis = {
    enable = true;
    hostname = "davis.example.com";
    mail = {
      dsn = "smtp://username@example.com:25";
      inviteFromAddress = "davis@example.com";
    };
    adminLogin = "admin";
    adminPasswordFile = "/run/secrets/davis-admin-password";
    appSecretFile = "/run/secrets/davis-app-secret";
    nginx = {};
  };
}

This deploys Davis using a sqlite database running out of /var/lib/davis.