17 lines
388 B
Nix
17 lines
388 B
Nix
{ lib, pkgs, ... }:
|
|
{
|
|
services.postgresql = {
|
|
enable = false;
|
|
enableTCPIP = true;
|
|
checkConfig = true;
|
|
package = pkgs.postgresql_12;
|
|
dataDir = "/srv/storage/database/postgres-12/data";
|
|
};
|
|
|
|
services.mysql = {
|
|
enable = false;
|
|
settings.mysqld.bind-address = "127.0.0.1";
|
|
package = pkgs.mariadb;
|
|
dataDir = "/srv/storage/database/mariadb/data";
|
|
};
|
|
}
|