fix: had to give the file the right permissions
Also need to restart openlpad.service on password change
This commit is contained in:
parent
ee28f2047a
commit
67a0d1b8bf
1 changed files with 9 additions and 2 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue