From 7eb729d29ae33bae4f3b48e4faf2244d05e475b1 Mon Sep 17 00:00:00 2001 From: blake Date: Fri, 10 Oct 2025 20:58:55 -0500 Subject: [PATCH] 223 current 2025-10-10 20:52:33 25.05.20251006.20c4598 6.12.50 * --- modules/homelab/gameservers/minecraft_recpro/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/homelab/gameservers/minecraft_recpro/default.nix b/modules/homelab/gameservers/minecraft_recpro/default.nix index 40e741d..34a9b03 100644 --- a/modules/homelab/gameservers/minecraft_recpro/default.nix +++ b/modules/homelab/gameservers/minecraft_recpro/default.nix @@ -87,7 +87,7 @@ in ]; 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 LOAD_FILE('/run/secrets/minecraft_recpro_db_passwd'); + CREATE USER IF NOT EXISTS 'minecraft_recpro'@'localhost' IDENTIFIED BY $(cat ${config.sops.secrets."minecraft_recpro_db_passwd".path}); GRANT ALL PRIVILEGES ON minecraft_recpro_db.* TO 'minecraft_recpro'@'localhost'; FLUSH PRIVILEGES; '';