Sogo Module implementation #29

Merged
tenksom merged 6 commits from sogo-test into main 2023-04-03 23:05:28 +02:00
Showing only changes of commit a3f4e289e1 - Show all commits

31
modules/sogo.nix Normal file
View file

@ -0,0 +1,31 @@
{config, pkgs, ... }:
let
hostname = "webmail.${config.fsr.domain}";
domain = config.fsr.domain;
in
{
services = {
sogo = {
enable = true;
language = "German";
extraConfig = "
WOWorkersCount = 10;
SOGoUserSources = ({
type = ldap;
CNFieldName = cn;
UIDFieldName = uid;
baseDN = "ou = users, dc=ifsr, dc=de";
bindDN = "uid=search, ou=users, dc=ifsr, dc=de";
bindPassword = qwertz;
hostname = "ldap://localhost";
});
";
}
postgresql = {
enable = true;
}
}