added radicale config.
This commit is contained in:
parent
e7ca693b77
commit
1d6c5082b4
21
configs/nixos/radicale.nix
Normal file
21
configs/nixos/radicale.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -249,10 +249,10 @@
|
||||||
"nix-secrets": {
|
"nix-secrets": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1718304587,
|
"lastModified": 1721938549,
|
||||||
"narHash": "sha256-cwD0U0kIzCPta5WPnpWBWHLknQOz8YTjK2eyRn3d7jQ=",
|
"narHash": "sha256-Iy3o7Q9GQybHPgDLzxCRhLVI7Q7P9U7/TCDSEMmFuFs=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "6ae6ce3f7de63c99b0657f8195775c2352cd9eae",
|
"rev": "f61fd3244eab8d1406f89867b8025d5fe9385551",
|
||||||
"shallow": true,
|
"shallow": true,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://git@git.venberg.xyz:7920/Gabe/nix-secrets.git"
|
"url": "ssh://git@git.venberg.xyz:7920/Gabe/nix-secrets.git"
|
||||||
|
|
Loading…
Reference in a new issue