fmt: moving all ldap files into their folder.

This commit is contained in:
silver 2023-08-27 22:47:36 +01:00
parent bfc0d81cf1
commit bd35b240be
5 changed files with 9 additions and 9 deletions

View file

@ -10,10 +10,10 @@ Gonna use a priper nixos module for this
# these are needed for teh program in question # these are needed for teh program in question
imports = [ imports = [
./acme.nix ../acme.nix
./dns.nix ../dns.nix
./nginx.nix ../nginx.nix
./ldap/ldap_backend.nix ./backend.nix
]; ];
@ -71,7 +71,7 @@ Gonna use a priper nixos module for this
# after changing teh password openldap.service has to be restarted # after changing teh password openldap.service has to be restarted
age.secrets.ldap_pw = { age.secrets.ldap_pw = {
file = ../secrets/ldap/pw.age; file = ../../secrets/ldap/pw.age;
mode = "440"; mode = "440";
owner = "openldap"; owner = "openldap";
group = "openldap"; group = "openldap";
@ -150,8 +150,8 @@ Gonna use a priper nixos module for this
"${pkgs.openldap}/etc/schema/cosine.ldif" "${pkgs.openldap}/etc/schema/cosine.ldif"
"${pkgs.openldap}/etc/schema/inetorgperson.ldif" "${pkgs.openldap}/etc/schema/inetorgperson.ldif"
"${pkgs.openldap}/etc/schema/nis.ldif" "${pkgs.openldap}/etc/schema/nis.ldif"
./ldap/openssh-lpk.ldif ./openssh-lpk.ldif
./ldap/skMemberOf.ldif ./skMemberOf.ldif
]; ];

View file

@ -14,7 +14,7 @@
../applications/dns.nix ../applications/dns.nix
# every server needs teh ldap client for admins # every server needs teh ldap client for admins
../applications/ldap_client.nix ../applications/ldap/client.nix
# every server will need the config to backup to # every server will need the config to backup to
../applications/restic.nix ../applications/restic.nix

View file

@ -21,7 +21,7 @@ let
in { in {
imports = [ imports = [
../applications/ldap.nix ../applications/ldap/server.nix
]; ];
deployment = { deployment = {