diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-12-08 16:22:56 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-12-08 16:22:56 +0100 |
commit | 16b80abd57bb215d0e72f3983f997a007743b8fb (patch) | |
tree | 19b24a9c9e2334c069721671e4e2a5d53d8efaec /modules/private/system/backup-2.nix | |
parent | 6015a3b52c3b155ac444aeb39950c38a5e653101 (diff) | |
download | Nix-16b80abd57bb215d0e72f3983f997a007743b8fb.tar.gz Nix-16b80abd57bb215d0e72f3983f997a007743b8fb.tar.zst Nix-16b80abd57bb215d0e72f3983f997a007743b8fb.zip |
Add openldap replication
Diffstat (limited to 'modules/private/system/backup-2.nix')
-rw-r--r-- | modules/private/system/backup-2.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/private/system/backup-2.nix b/modules/private/system/backup-2.nix index 3d51fa3..1b7f136 100644 --- a/modules/private/system/backup-2.nix +++ b/modules/private/system/backup-2.nix | |||
@@ -87,6 +87,18 @@ | |||
87 | }; | 87 | }; |
88 | }; | 88 | }; |
89 | }; | 89 | }; |
90 | openldap = { | ||
91 | enable = true; | ||
92 | base = "/backup2"; | ||
93 | hosts = { | ||
94 | eldiron = { | ||
95 | url = "ldaps://${myconfig.env.ldap.host}:636"; | ||
96 | dn = myconfig.env.ldap.replication_dn; | ||
97 | password = myconfig.env.ldap.replication_pw; | ||
98 | base = myconfig.env.ldap.base; | ||
99 | }; | ||
100 | }; | ||
101 | }; | ||
90 | }; | 102 | }; |
91 | 103 | ||
92 | # This value determines the NixOS release with which your system is | 104 | # This value determines the NixOS release with which your system is |