nix/host/x86_64-linux/home/Davis.nix
2025-01-09 15:39:04 +03:00

21 lines
527 B
Nix

{ ... }:
let
storage = "/storage/hot/data/davis"; # TODO: Move to config.
in
{
services.davis = {
enable = true;
adminPasswordFile = "${storage}/Password";
appSecretFile = "${storage}/Secret";
hostname = "dav.voronind.com";
nginx = {
sslCertificate = "/etc/letsencrypt/live/voronind.com/fullchain.pem";
sslCertificateKey = "/etc/letsencrypt/live/voronind.com/privkey.pem";
};
mail = {
dsnFile = "${storage}/Dsn";
inviteFromAddress = "noreply@voronind.com";
};
};
}