services/radicale: init
This commit is contained in:
parent
d51f76e020
commit
ce2b892880
3 changed files with 57 additions and 0 deletions
26
services/radicale.nix
Normal file
26
services/radicale.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
mkIf (elem "radicale" config.machine.services) {
|
||||
services.radicale = {
|
||||
enable = true;
|
||||
package = pkgs.radicale3;
|
||||
settings = {
|
||||
server = {
|
||||
hosts = [ "127.0.0.1:5232" ];
|
||||
};
|
||||
auth = {
|
||||
type = "imap";
|
||||
imap_host = "mail.ophanim.de";
|
||||
};
|
||||
storage = {
|
||||
filesystem_folder = "/var/lib/radicale/collections";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue