mirror of
https://codeberg.org/polyteknisk-radiogruppe/the_prg_server_configuration.git
synced 2026-06-13 18:28:55 +02:00
Add PostgreSQL support and JDBC drivers to Minecraft configuration
This commit is contained in:
parent
a01ca0de92
commit
738c9879cb
1 changed files with 9 additions and 0 deletions
|
|
@ -54,6 +54,10 @@ in {
|
|||
# 24454 - https://modrepo.de/minecraft/voicechat/wiki/server_setup_self_hosted !!!
|
||||
# This is the VoiceChat mod in Minecraft
|
||||
|
||||
# Install psql
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
};
|
||||
# ---------------------------------------------------------------------------
|
||||
# Minecraft server configuration (nix-minecraft)
|
||||
# ---------------------------------------------------------------------------
|
||||
|
|
@ -219,6 +223,11 @@ in {
|
|||
# The nix-minecraft module creates the `minecraft` user/group automatically.
|
||||
users.users.minecraftprg.extraGroups = ["minecraft"];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
postgresql_jdbc
|
||||
mysql-connector-j
|
||||
];
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue