summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrigory Shipunov2025-01-20 02:17:45 +0000
committerGrigory Shipunov2025-01-20 18:07:35 +0000
commit30d2e7fafc7ea9e89ae26cedeab0fcbdf457bc3d (patch)
treedfd9a7b9a238820c310b79782ffd088d09c40c2b
parent31106bdf15b9e578fd4dd0f3f48ef89afcf4bcde (diff)
update radicale
-rw-r--r--hosts/radicale/radicale.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/hosts/radicale/radicale.nix b/hosts/radicale/radicale.nix
index 37de7b5..fa2b7bb 100644
--- a/hosts/radicale/radicale.nix
+++ b/hosts/radicale/radicale.nix
@@ -1,5 +1,8 @@
-{ ... }:
+{ config, ... }:
{
+ sops.secrets."radicale/htpasswd" = {
+ owner = config.users.users.radicale.name;
+ };
services.radicale = {
enable = true;
settings = {
@@ -8,7 +11,8 @@
ssl = "False";
};
auth = {
- type = "http_x_remote_user";
+ type = "htpasswd";
+ htpasswd_filename = config.sops.secrets."radicale/htpasswd".path;
};
rights = {
type = "owner_only";