1
0

hosts/web-2: radicale use secrets

This commit is contained in:
clerie 2023-05-02 20:52:00 +02:00
parent bf0a8a31c3
commit a2deec6dfb
2 changed files with 18 additions and 2 deletions

View File

@ -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 = {

View File

@ -0,0 +1,11 @@
age-encryption.org/v1
-> ssh-ed25519 HwR33w +w13fgMLBeHKig0VX67/mlhQb0EPSJAFTu//velYNRY
irMedsePNfFFOYhKksrqLcLdNdYHMxFy4iTPneIOtWU
-> ssh-ed25519 1nn+0Q KpFGP/y4zZ8E8Jut8Gpea1DLH6rXGKODLE3IPTbzOUo
p28M4shr97sqqTBAxB1fQRNCj2E+xio3TboKZ/6smb8
-> rXRB4)-grease
t3CdM1EbN2yfSeKURCJRMTZ4w9FtXu6+Y8PWxo2RTV0fyv6XJdrq1jn1n4IflQLP
CV3H9FlQp4Lg/bdqVZDqDoMJ6dprVWK4rACnF6/tRRkZR4Ndfk4JRRWtWBOfR/ax
GWNb
--- yNRoOEai4ypvo0uGZYI1q/qwzS4wIZFXQEGYcW+H/wc
Ñî ³Z¼ÿ<C2BC>·îe0±<30>ä_îÀD@äΕÃ>¸KOQBuP÷9TGgŽ×(€9´pœŒZ@1†&RZÁOŸªCp$kr¿ô®¤èòlg!\‹«„—èÑÄ=W׃×Vq