Add minecraft server to desktop
This commit is contained in:
parent
2328238acc
commit
78ef7310b6
@ -14,6 +14,7 @@
|
||||
./services/ssh.nix
|
||||
./services/syncthing.nix
|
||||
./services/vintagestory.nix
|
||||
./services/minecraft-server.nix
|
||||
|
||||
./sysconfig/desktop-environment.nix
|
||||
./sysconfig/fonts.nix
|
||||
|
5
dotfiles/nixos/desktop/services/minecraft-server.nix
Normal file
5
dotfiles/nixos/desktop/services/minecraft-server.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{ pkgs, ... }: {
|
||||
environment.systemPackages = [ pkgs.minecraft-server ];
|
||||
networking.firewall.allowedTCPPorts = [ 25565 ];
|
||||
networking.firewall.allowedUDPPorts = [ 25565 ];
|
||||
}
|
Loading…
Reference in New Issue
Block a user