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 {
|
config = mkIf cfg.enable {
|
||||||
# this is athe actual configuration that we need to do
|
# this is athe actual configuration that we need to do
|
||||||
|
|
||||||
# im poort in teh secrets for this
|
# after changing teh password openldap.service has to be restarted
|
||||||
age.secrets.ldap_pw.file = ../secrets/ldap/pw.age;
|
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;
|
age.secrets.ldap_self_service.file = ../secrets/ldap/self_service.age;
|
||||||
|
|
||||||
skynet_dns.records.cname = [
|
skynet_dns.records.cname = [
|
||||||
|
|
Loading…
Reference in a new issue