fix: had to give the file the right permissions

Also need to restart openlpad.service on password change
This commit is contained in:
silver 2023-05-21 00:19:20 +01:00
parent ee28f2047a
commit 67a0d1b8bf

View file

@ -45,8 +45,15 @@ Gonna use a priper nixos module for this
config = mkIf cfg.enable {
# this is athe actual configuration that we need to do
# im poort in teh secrets for this
age.secrets.ldap_pw.file = ../secrets/ldap/pw.age;
# after changing teh password openldap.service has to be restarted
age.secrets.ldap_pw = {
file = ../secrets/ldap/pw.age;
mode = "440";
owner = "openldap";
group = "openldap";
};
# openldap
age.secrets.ldap_self_service.file = ../secrets/ldap/self_service.age;
skynet_dns.records.cname = [