switch to baikal

This commit is contained in:
XenGi 2026-06-20 00:27:07 +02:00
commit 96d15b02fe
Signed by: xengi
SSH key fingerprint: SHA256:dM+fLZGsDvyv6kunjE8bGduL24VsCFB4LEOSdmRHdG0
3 changed files with 30 additions and 5 deletions

24
hosts/dav/baikal.nix Normal file
View file

@ -0,0 +1,24 @@
{ ... }:
{
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";
};
};
}

View file

@ -5,7 +5,8 @@
../common.nix
../../services/openssh.nix
../../services/prometheus-node.nix
./radicale.nix
#./radicale.nix
./baikal.nix
];
networking = {

View file

@ -42,14 +42,14 @@ in
radicale = {
enable = true;
rights = {
root = {
user = ".*";
collection = "";
readonly = {
user = "";
collection = ".*";
permissions = "r";
};
principal = {
user = ".*";
collection = "{user}/?";
collection = "{user}";
permissions = "rw";
};
collections = {