219 current 2025-10-10 20:44:06 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-10 20:46:20 -05:00
parent 0fe813201a
commit afbef1bf7d
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
# flake for blakes nixos config
# define new devices in outputs
# generation: 218 current 2025-10-10 20:40:59 25.05.20251006.20c4598 6.12.50 *
# generation: 219 current 2025-10-10 20:44:06 25.05.20251006.20c4598 6.12.50 *
{
description = "blakes nix config";
inputs = {

View File

@@ -86,10 +86,10 @@ in
}
];
initialScript = pkgs.writeText "minecraft_recpro-init.sql" ''
CREATE DATABASE IF NOT EXISTS minecraft_recpro;
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');
GRANT ALL PRIVILEGES ON minecraft_recpro.* TO 'minecraft_recpro'@'localhost';
GRANT ALL PRIVILEGES ON minecraft_recpro_db.* TO 'minecraft_recpro'@'localhost';
FLUSH PRIVILEGES;
'';
};