hosts/web-2: radicale use secrets
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
{ ... }:
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
age.secrets.radicale-htpasswd = {
|
||||
owner = "radicale";
|
||||
group = "radicale";
|
||||
};
|
||||
|
||||
services.radicale = {
|
||||
enable = true;
|
||||
settings = {
|
||||
@@ -9,7 +14,7 @@
|
||||
};
|
||||
auth = {
|
||||
type = "htpasswd";
|
||||
htpasswd_filename = "/var/src/secrets/radicale/htpasswd";
|
||||
htpasswd_filename = config.age.secrets.radicale-htpasswd.path;
|
||||
htpasswd_encryption = "bcrypt";
|
||||
};
|
||||
storage = {
|
||||
|
Reference in New Issue
Block a user