added radicale

This commit is contained in:
willifan 2024-07-31 17:32:56 +02:00
parent e362c39a63
commit 79022428c3
3 changed files with 30 additions and 8 deletions

View File

@ -7,14 +7,14 @@
https://git.huwe.mooo.com {
reverse_proxy localhost:3000
}
https://files.huwe.mooo.com {
reverse_proxy localhost:444
}
https://cal.huwe.mooo.com {
reverse_proxy localhost:5232
}
'';
#https://files.huwe.mooo.com {
# reverse_proxy localhost:444
#}
#https://cal.huwe.mooo.com {
# reverse_proxy localhost:5232
#}
};
}

View File

@ -9,6 +9,7 @@
./firewall.nix
./gitea.nix
./hardware-configuration.nix
./radicale.nix
];

21
hosts/Anton/radicale.nix Normal file
View File

@ -0,0 +1,21 @@
{ pkgs, ... }:
{
services.radicale = {
enable = true;
settings = {
server = {
hosts = [ "0.0.0.0:5232" "[::]:5232" ];
};
auth = {
type = "htpasswd";
htpasswd_filename = "/etc/radicale/users";
htpasswd_encryption = "bcrypt";
};
storage = {
filesystem_folder = "/mnt/data/services/radicale/collections";
};
};
};
}