added radicale config.

This commit is contained in:
Gabe Venberg 2024-07-25 15:24:11 -05:00
parent e7ca693b77
commit 1d6c5082b4
2 changed files with 24 additions and 3 deletions

View file

@ -0,0 +1,21 @@
{
inputs,
config,
pkgs,
lib,
...
}: {
services.radicale={
enable=true;
settings={
server={
hosts=[ "0.0.0.0:5232" "[::]:5232" ];
};
auth={
type="htpasswd";
htpasswd_encryption="md5";
htpasswd_filename="${inputs.nix-secrets}/radicale-users";
};
};
};
}

View file

@ -249,10 +249,10 @@
"nix-secrets": {
"flake": false,
"locked": {
"lastModified": 1718304587,
"narHash": "sha256-cwD0U0kIzCPta5WPnpWBWHLknQOz8YTjK2eyRn3d7jQ=",
"lastModified": 1721938549,
"narHash": "sha256-Iy3o7Q9GQybHPgDLzxCRhLVI7Q7P9U7/TCDSEMmFuFs=",
"ref": "refs/heads/main",
"rev": "6ae6ce3f7de63c99b0657f8195775c2352cd9eae",
"rev": "f61fd3244eab8d1406f89867b8025d5fe9385551",
"shallow": true,
"type": "git",
"url": "ssh://git@git.venberg.xyz:7920/Gabe/nix-secrets.git"