21 lines
527 B
Nix
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";
|
|
};
|
|
};
|
|
}
|