]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/default.nix
Move databases configs to modules
[perso/Immae/Config/Nix.git] / modules / private / default.nix
index 6c71af3ec473aa2c2b51b025cfbc7f21650aedaa..a7a23c220475cc66821c542a19cbe3465b27b724 100644 (file)
@@ -1,6 +1,12 @@
 {
   # adatped from nixpkgs/nixos/modules/services/web-servers/apache-httpd/default.nix
-  httpdInte  = import ./httpd-service-builder.nix { httpdName = "Inte"; withUsers = false; };
-  httpdProd  = import ./httpd-service-builder.nix { httpdName = "Prod"; withUsers = false; };
-  httpdTools = import ./httpd-service-builder.nix { httpdName = "Tools"; withUsers = true; };
+  httpdInte  = import ../websites/httpd-service-builder.nix { httpdName = "Inte"; withUsers = false; };
+  httpdProd  = import ../websites/httpd-service-builder.nix { httpdName = "Prod"; withUsers = false; };
+  httpdTools = import ../websites/httpd-service-builder.nix { httpdName = "Tools"; withUsers = true; };
+
+  databases  = ./databases;
+  mariadb    = ./databases/mariadb.nix;
+  openldap   = ./databases/openldap;
+  postgresql = ./databases/postgresql.nix;
+  redis      = ./databases/redis.nix;
 }