The born of sogo

This commit is contained in:
tenksom 2023-03-01 18:44:56 +01:00
parent 7dceb93e89
commit a3f4e289e1
No known key found for this signature in database
GPG key ID: B712039D23133661

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;
}
}