diff --git a/systems/minecraft/nixos.nix b/systems/minecraft/nixos.nix index b38a08f4..62c4dd9a 100644 --- a/systems/minecraft/nixos.nix +++ b/systems/minecraft/nixos.nix @@ -1,4 +1,4 @@ -{meta, ...}: { +{meta, pkgs, ...}:{ imports = let inherit (meta) nixos; in [ @@ -7,6 +7,14 @@ nixos.tailscale ]; + environment.systemPackages = with pkgs; [ + jre + tmux + ]; + + networking.firewall.interfaces.tailscale0.allowedTCPPorts = [ 25565 ]; + networking.firewall.interfaces.local.allowedTCPPorts = [ 25565 ]; + sops = { defaultSopsFile = ./secrets.yaml; secrets.tailscale-key.key = "tailscale-key";