update radicale
This commit is contained in:
parent
31106bdf15
commit
30d2e7fafc
1 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
||||||
{ ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
|
sops.secrets."radicale/htpasswd" = {
|
||||||
|
owner = config.users.users.radicale.name;
|
||||||
|
};
|
||||||
services.radicale = {
|
services.radicale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
@ -8,7 +11,8 @@
|
||||||
ssl = "False";
|
ssl = "False";
|
||||||
};
|
};
|
||||||
auth = {
|
auth = {
|
||||||
type = "http_x_remote_user";
|
type = "htpasswd";
|
||||||
|
htpasswd_filename = config.sops.secrets."radicale/htpasswd".path;
|
||||||
};
|
};
|
||||||
rights = {
|
rights = {
|
||||||
type = "owner_only";
|
type = "owner_only";
|
||||||
|
|
Loading…
Add table
Reference in a new issue