host/home: add radicale calendar

This commit is contained in:
Dmitriy Pleshevskiy 2024-05-22 22:12:33 +03:00
parent a8d753d0ec
commit 7796baa7e5
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2

View file

@ -9,6 +9,35 @@
local.yubikey.enable = true;
services.radicale = {
enable = true;
settings = {
auth = {
# htpasswd -B -c /etc/radicale/users
type = "htpasswd";
htpasswd_filename = "/etc/radicale/users";
htpasswd_encryption = "bcrypt";
};
};
rights = {
root = {
user = ".+";
collection = "";
permissions = "R";
};
principal = {
user = ".+";
collection = "{user}";
permissions = "RW";
};
calendars = {
user = ".+";
collection = "{user}/[^/]+";
permissions = "rw";
};
};
};
################################################################################
# Programs
################################################################################