224 current 2025-10-10 20:58:53 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-10 21:01:37 -05:00
parent 7eb729d29a
commit 23170eb4fc
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
# flake for blakes nixos config
# define new devices in outputs
# generation: 223 current 2025-10-10 20:52:33 25.05.20251006.20c4598 6.12.50 *
# generation: 224 current 2025-10-10 20:58:53 25.05.20251006.20c4598 6.12.50 *
{
description = "blakes nix config";
inputs = {

View File

@@ -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 $(cat ${config.sops.secrets."minecraft_recpro_db_passwd".path});
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;
'';