};
};
- config.nixpkgs.overlays = lib.mkIf cfg.enable [ (self: super: {
- postgresql = self.postgresql_11_custom;
- }) ];
-
config.myServices.databases = lib.mkIf cfg.enable {
mariadb = {
enable = true;
inherit (config.myEnv.servers.eldiron.ldap) dn password;
};
authorizedHosts = {
- immaeEu = [{
- ip4 = [
- config.myEnv.servers.immaeEu.ips.main.ip4
- config.myEnv.servers.immaeEu.ips.alt.ip4
- ];
- }];
};
replicationHosts = {
backup-2 = {