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:
parent
130dc59c37
commit
bc509ab602
2 changed files with 7 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue