feat: updated whats fed into different modules

This commit is contained in:
silver 2023-09-12 12:05:38 +01:00
parent 462164a82f
commit 563d13e115
5 changed files with 29 additions and 8 deletions

View file

@ -47,8 +47,9 @@
#backups = [ "/etc/silver_ul_ical/database.db" ];
age.secrets.ldap_self_service.file = ../../secrets/ldap/self_service.age;
age.secrets.ldap_details.file = ../../secrets/ldap/details.age;
age.secrets.ldap_discord.file = ../../secrets/discord/ldap.age;
age.secrets.ldap_mail.file = ../../secrets/email/details.age;
skynet_acme.domains = [
"${cfg.domain.sub}.${cfg.domain.base}.${cfg.domain.tld}"
@ -76,13 +77,9 @@
# contains teh password in env form
env = {
ldap = config.age.secrets.ldap_self_service.path;
ldap = config.age.secrets.ldap_details.path;
discord = config.age.secrets.ldap_discord.path;
};
ldap = {
host = "ldaps://account.skynet.ie";
admin = "uid=ldap_api,ou=users,dc=skynet,dc=ie";
mail = config.age.secrets.ldap_mail.path;
};
users = {