1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-10 23:00:39 +02:00

feat(radicale): add users

This commit is contained in:
oddlama 2024-01-05 22:09:01 +01:00
parent 130dc59c37
commit bc509ab602
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 7 additions and 1 deletions

View file

@ -32,6 +32,12 @@ in {
};
};
age.secrets.radicale-users = {
rekeyFile = config.node.secretsDir + "/radicale-users.age";
mode = "440";
group = "radicale";
};
environment.persistence."/persist".directories = [
{
directory = "/var/lib/radicale";
@ -49,7 +55,7 @@ in {
};
auth = {
type = "htpasswd";
htpasswd_filename = "/etc/radicale/users";
htpasswd_filename = config.age.secrets.radicale-users.path;
htpasswd_encryption = "bcrypt";
};
storage = {