From 3a7f4de155ba52c12153fa3062e4078bf7963dc9 Mon Sep 17 00:00:00 2001 From: blake Date: Fri, 10 Oct 2025 20:18:11 -0500 Subject: [PATCH] 216 current 2025-10-10 04:43:06 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 060dd75..9349d3f 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; - CREATE USER IF NOT EXISTS 'minecraft_recpro'@'localhost' IDENTIFIED BY '${toString sec."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.* TO 'minecraft_recpro'@'localhost'; FLUSH PRIVILEGES; '';