init: Add crossbox's configurations

This commit is contained in:
Matthew Binning 2026-01-10 10:55:18 -08:00
parent 9339a28783
commit cbac6cd532
8 changed files with 632 additions and 0 deletions

37
radicale.nix Normal file
View file

@ -0,0 +1,37 @@
{ config, pkgs, lib, ... }:
{
services.radicale = {
enable = true;
# Configuration settings
settings = {
server = {
hosts = [ "127.0.0.1:5232" "[::1]:5232" ];
};
# Authentication (you can customize this)
auth = {
type = "htpasswd";
htpasswd_filename = "/srv/radicale/users";
htpasswd_encryption = "bcrypt";
};
# Storage configuration
storage = {
filesystem_folder = "/srv/radicale/collections";
};
# Logging
logging = {
level = "info";
};
rights = {
type = "from_file";
file = "/srv/radicale/rights";
};
};
};
}