forked from mirrors_public/oddlama_nix-config
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 = [
|
environment.persistence."/persist".directories = [
|
||||||
{
|
{
|
||||||
directory = "/var/lib/radicale";
|
directory = "/var/lib/radicale";
|
||||||
|
@ -49,7 +55,7 @@ in {
|
||||||
};
|
};
|
||||||
auth = {
|
auth = {
|
||||||
type = "htpasswd";
|
type = "htpasswd";
|
||||||
htpasswd_filename = "/etc/radicale/users";
|
htpasswd_filename = config.age.secrets.radicale-users.path;
|
||||||
htpasswd_encryption = "bcrypt";
|
htpasswd_encryption = "bcrypt";
|
||||||
};
|
};
|
||||||
storage = {
|
storage = {
|
||||||
|
|
BIN
hosts/ward/secrets/radicale/radicale-users.age
Normal file
BIN
hosts/ward/secrets/radicale/radicale-users.age
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue