Evie Litherland-Smith
763a1d2a05
Place home-manager config under home directory, move system config under system directory. Add hostname-specific entries under home directory to be consistent with how system is configured, update flake accordingly
22 lines
424 B
Nix
22 lines
424 B
Nix
{...}: let
|
|
port = "5232";
|
|
in {
|
|
services.radicale = {
|
|
enable = true;
|
|
settings = {
|
|
server = {
|
|
hosts = ["0.0.0.0:${port}"];
|
|
};
|
|
auth = {
|
|
type = "htpasswd";
|
|
htpasswd_filename = "/etc/radicale/users";
|
|
delay = 1;
|
|
};
|
|
};
|
|
# rights = {};
|
|
};
|
|
services.caddy.virtualHosts."cal.xenia.me.uk".extraConfig = ''
|
|
reverse_proxy http://localhost:${port}
|
|
'';
|
|
}
|