init: Add crossbox's configurations
This commit is contained in:
parent
9339a28783
commit
cbac6cd532
8 changed files with 632 additions and 0 deletions
37
radicale.nix
Normal file
37
radicale.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue