diff options
| author | Grigory Shipunov | 2025-01-20 02:17:45 +0000 |
|---|---|---|
| committer | Grigory Shipunov | 2025-01-20 18:07:35 +0000 |
| commit | 30d2e7fafc7ea9e89ae26cedeab0fcbdf457bc3d (patch) | |
| tree | dfd9a7b9a238820c310b79782ffd088d09c40c2b /hosts/radicale/radicale.nix | |
| parent | 31106bdf15b9e578fd4dd0f3f48ef89afcf4bcde (diff) | |
update radicale
Diffstat (limited to 'hosts/radicale/radicale.nix')
| -rw-r--r-- | hosts/radicale/radicale.nix | 8 |
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"; |
