From 78243e8a1446af3f859195d90afbdc528c246c43 Mon Sep 17 00:00:00 2001 From: caem Date: Thu, 30 May 2024 19:34:57 +0200 Subject: [PATCH] Add Minecraft --- machines/workstation/configuration.nix | 5 +++++ packages/sets/games.nix | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/machines/workstation/configuration.nix b/machines/workstation/configuration.nix index 1b6418b..934d7a8 100644 --- a/machines/workstation/configuration.nix +++ b/machines/workstation/configuration.nix @@ -85,6 +85,11 @@ ''; }; + networking.firewall = { + allowedTCPPorts = [ 25565 ]; + allowedUDPPorts = [ 25565 ]; + }; + system.stateVersion = "23.11"; } diff --git a/packages/sets/games.nix b/packages/sets/games.nix index 2b8b6bf..936f195 100644 --- a/packages/sets/games.nix +++ b/packages/sets/games.nix @@ -1,4 +1,4 @@ -{ ... }: +{ pkgs, ... }: { programs.steam = { @@ -8,5 +8,9 @@ }; programs.honkers-railway-launcher.enable = true; + + environment.systemPackages = with pkgs; [ + prismlauncher + ]; }