]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/databases/default.nix
Add syden peertube website
[perso/Immae/Config/Nix.git] / modules / private / databases / default.nix
index 8c5eb9ac7aac5a084855d91aceab7bca0774c720..6cd6feb5b25dae3dfb6107e2b1df277422d21097 100644 (file)
@@ -10,10 +10,6 @@ in
     };
   };
 
-  config.nixpkgs.overlays = lib.mkIf cfg.enable [ (self: super: {
-    postgresql = self.postgresql_11_custom;
-  }) ];
-
   config.myServices.databases = lib.mkIf cfg.enable {
     mariadb = {
       enable = true;
@@ -46,18 +42,8 @@ in
         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-1 = {
-          ip4 = [config.myEnv.servers.backup-1.ips.main.ip4];
-          ip6 = config.myEnv.servers.backup-1.ips.main.ip6;
-        };
         backup-2 = {
           ip4 = [config.myEnv.servers.backup-2.ips.main.ip4];
           ip6 = config.myEnv.servers.backup-2.ips.main.ip6;