216 current 2025-10-10 04:43:06 25.05.20251006.20c4598 6.12.50 *

This commit is contained in:
2025-10-10 20:08:13 -05:00
parent 16d62f5ed2
commit a8dddf8cbb

View File

@@ -82,7 +82,7 @@ in
ensureUsers = [ ensureUsers = [
{ {
name = "minecraft"; name = "minecraft";
password = ${toString sec."minecraft_recpro_db_passwd"}; password = sec."minecraft_recpro_db_passwd"};
ensurePermissions = { "minecraft_recpro_db.*" = "ALL PRIVILEGES"; }; ensurePermissions = { "minecraft_recpro_db.*" = "ALL PRIVILEGES"; };
} }
]; ];
@@ -123,8 +123,15 @@ in
path = "/var/lib/gameservers/minecraft_recpro/velocity/forwarding.secret"; path = "/var/lib/gameservers/minecraft_recpro/velocity/forwarding.secret";
mode = "0400"; mode = "0400";
}; };
"minecraft_recpro_db_passwd" = {
owner = "minecraft";
group = "minecraft";
}; };
};
# add to backups # add to backups
modules.system.backups.paths = lib.mkIf cfg.backup [ cfg.data_dir ]; modules.system.backups.paths = lib.mkIf cfg.backup [ cfg.data_dir ];
}; };