From f28c9ea93d3916365507c9076c0792208331a132 Mon Sep 17 00:00:00 2001 From: blake Date: Fri, 10 Oct 2025 04:10:56 -0500 Subject: [PATCH] 212 current 2025-10-10 03:46:48 25.05.20251006.20c4598 6.12.50 * --- .../gameservers/minecraft_recpro/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/homelab/gameservers/minecraft_recpro/default.nix b/modules/homelab/gameservers/minecraft_recpro/default.nix index c5bec4b..f4b9bdc 100644 --- a/modules/homelab/gameservers/minecraft_recpro/default.nix +++ b/modules/homelab/gameservers/minecraft_recpro/default.nix @@ -81,16 +81,16 @@ in ensureDatabases = [ "minecraft_recpro_db" ]; ensureUsers = [ { - name = "minecraft_recpro"; + name = "minecraft"; ensurePermissions = { "minecraft_recpro_db.*" = "ALL PRIVILEGES"; }; } ]; - initialScript = pkgs.writeText "minecraft_recpro-init.sql" '' - CREATE DATABASE IF NOT EXISTS minecraft_recpro_db; - CREATE USER IF NOT EXISTS 'minecraft_recpro'@'localhost' IDENTIFIED BY '${builtins.readFile /run/secrets/minecraft_recpro_db_passwd}'; - GRANT ALL PRIVILEGES ON minecraft_recpro.* TO 'minecraft_recpro'@'localhost'; - FLUSH PRIVILEGES; - ''; +# initialScript = pkgs.writeText "minecraft_recpro-init.sql" '' +# CREATE DATABASE IF NOT EXISTS minecraft_recpro; +# CREATE USER IF NOT EXISTS 'minecraft_recpro'@'localhost' IDENTIFIED BY '${sec."minecraft_recpro_db_passwd"}'; +# GRANT ALL PRIVILEGES ON minecraft_recpro.* TO 'minecraft_recpro'@'localhost'; +# FLUSH PRIVILEGES; +# ''; }; # open firewall