fixing the secrets
This commit is contained in:
parent
de62b47e52
commit
25b6d71896
|
@ -2,7 +2,7 @@
|
||||||
let
|
let
|
||||||
sogo-hostname = "mail.${config.fsr.domain}";
|
sogo-hostname = "mail.${config.fsr.domain}";
|
||||||
domain = config.fsr.domain;
|
domain = config.fsr.domain;
|
||||||
pg-port = config.services.postgresql.port;
|
pg-port = toString config.services.postgresql.port;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
sops.secrets.ldap_search = {
|
sops.secrets.ldap_search = {
|
||||||
|
@ -35,8 +35,8 @@ in
|
||||||
OCSSessionsFolderURL = "postgresql://sogo:POSTGRES_PASSWORD@localhost:${pg-port}/sogo/sogo_sessions_folder";
|
OCSSessionsFolderURL = "postgresql://sogo:POSTGRES_PASSWORD@localhost:${pg-port}/sogo/sogo_sessions_folder";
|
||||||
''; # Hier ist bindPassword noch nicht vollständig
|
''; # Hier ist bindPassword noch nicht vollständig
|
||||||
configReplaces = {
|
configReplaces = {
|
||||||
LDAP_SEARCH = config.sops.secrets.ldap_search.path;
|
"LDAP_SEARCH" = config.sops.secrets.ldap_search.path;
|
||||||
POSTGRES_PASSWORD = config.sops.secrets.postgres_sogo;
|
"POSTGRES_PASSWORD" = config.sops.secrets.postgres_sogo.path;
|
||||||
};
|
};
|
||||||
vhostName = "${sogo-hostname}";
|
vhostName = "${sogo-hostname}";
|
||||||
timezone = "Europe/Berlin";
|
timezone = "Europe/Berlin";
|
||||||
|
|
Loading…
Reference in a new issue