Add minecraft server to desktop

This commit is contained in:
Joey Hafner 2025-01-02 13:16:31 -08:00
parent 2328238acc
commit 78ef7310b6
Signed by: Jafner
GPG Key ID: 6D9A24EF2F389E55
2 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,7 @@
./services/ssh.nix
./services/syncthing.nix
./services/vintagestory.nix
./services/minecraft-server.nix
./sysconfig/desktop-environment.nix
./sysconfig/fonts.nix

View File

@ -0,0 +1,5 @@
{ pkgs, ... }: {
environment.systemPackages = [ pkgs.minecraft-server ];
networking.firewall.allowedTCPPorts = [ 25565 ];
networking.firewall.allowedUDPPorts = [ 25565 ];
}