24 lines
422 B
Nix
24 lines
422 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
imports = [
|
|
../../services/nginx.nix
|
|
];
|
|
|
|
services = {
|
|
baikal = {
|
|
enable = true;
|
|
virtualHost = "dav.${config.networking.domain}";
|
|
};
|
|
|
|
nginx.virtualHosts."dav.${config.networking.domain}" = {
|
|
default = true;
|
|
quic = true;
|
|
kTLS = true;
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
locations."/all.ics".root = "/srv/www/calendar";
|
|
};
|
|
};
|
|
}
|
|
|