From dcb8bdde5933944542e8f49e9653836dd77d3086 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 11 Jan 2022 18:37:12 +0100 Subject: [PATCH] VEGAS/database: provide MySQL as well --- hosts/VEGAS/modules/database/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/VEGAS/modules/database/default.nix b/hosts/VEGAS/modules/database/default.nix index 5120b52..7946600 100644 --- a/hosts/VEGAS/modules/database/default.nix +++ b/hosts/VEGAS/modules/database/default.nix @@ -7,4 +7,11 @@ package = pkgs.postgresql_12; dataDir = "/srv/storage/database/postgres-12/data"; }; + + services.mysql = { + enable = true; + bind = "127.0.0.1"; + package = pkgs.mariadb; + dataDir = "/srv/storage/database/mariadb/data"; + }; }