hosts/web-2: radicale use secrets
This commit is contained in:
parent
bf0a8a31c3
commit
a2deec6dfb
@ -1,6 +1,11 @@
|
|||||||
{ ... }:
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
age.secrets.radicale-htpasswd = {
|
||||||
|
owner = "radicale";
|
||||||
|
group = "radicale";
|
||||||
|
};
|
||||||
|
|
||||||
services.radicale = {
|
services.radicale = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
@ -9,7 +14,7 @@
|
|||||||
};
|
};
|
||||||
auth = {
|
auth = {
|
||||||
type = "htpasswd";
|
type = "htpasswd";
|
||||||
htpasswd_filename = "/var/src/secrets/radicale/htpasswd";
|
htpasswd_filename = config.age.secrets.radicale-htpasswd.path;
|
||||||
htpasswd_encryption = "bcrypt";
|
htpasswd_encryption = "bcrypt";
|
||||||
};
|
};
|
||||||
storage = {
|
storage = {
|
||||||
|
11
hosts/web-2/secrets/radicale-htpasswd.age
Normal file
11
hosts/web-2/secrets/radicale-htpasswd.age
Normal 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ŸªC›p$kr¿ô®¤èò‘’lg!\‹«„—èÑÄ=W׃×(ìVq
|
Loading…
Reference in New Issue
Block a user