Gutterman: rudimentary mc server config
service aint working with screen or tmux for some reason but im committing this anyway
This commit is contained in:
parent
03b76a5e04
commit
d9d51023dd
2 changed files with 181 additions and 21 deletions
|
|
@ -10,6 +10,7 @@
|
|||
../../modules/nixos/programs/git.nix
|
||||
|
||||
../../modules/nixos/services/tailscale
|
||||
../../modules/nixos/services/gameserver/minecraft-server.nix
|
||||
|
||||
../../modules/nixos/system/headless.nix
|
||||
../../modules/nixos/system/minimal.nix
|
||||
|
|
@ -29,30 +30,11 @@
|
|||
CacheFromLocalhost=true
|
||||
'';
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [
|
||||
8000
|
||||
8001
|
||||
];
|
||||
allowedUDPPorts = [
|
||||
8000
|
||||
8001
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages =
|
||||
let
|
||||
nixpkgs-unstable = import inputs.nixpkgs-unstable {
|
||||
system = "${pkgs.system}";
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
in [
|
||||
environment.systemPackages = [
|
||||
pkgs.btop
|
||||
nixpkgs-unstable.graalvmPackages.graalvm-oracle_17
|
||||
inputs.nixpkgs-pin.legacyPackages.${pkgs.system}.graalvm-ce
|
||||
pkgs.steamcmd
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
system.stateVersion = "25.05";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue