deploy authentik, cleanup

This commit is contained in:
Grigory Shipunov 2025-01-21 00:14:24 +00:00
parent 30d2e7fafc
commit ea75d168e4
7 changed files with 258 additions and 58 deletions

View file

@ -1,8 +1,5 @@
{ config, ... }:
{
sops.secrets."radicale/htpasswd" = {
owner = config.users.users.radicale.name;
};
services.radicale = {
enable = true;
settings = {
@ -11,8 +8,7 @@
ssl = "False";
};
auth = {
type = "htpasswd";
htpasswd_filename = config.sops.secrets."radicale/htpasswd".path;
type = "http_x_remote_user";
};
rights = {
type = "owner_only";