summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-10-09 13:21:59 +0200
committerlassulus <lassulus@lassul.us>2017-10-09 13:21:59 +0200
commit15f8ae3a5377036f3ace30f099f4287c74121ce9 (patch)
tree0f146ba2d475764845037bfba7650b3d51834d09
parent1b6956cb0d5ba3c28cb770a38e667ae10739f2b9 (diff)
l prism.r: start minecraft server
-rw-r--r--lass/1systems/prism/config.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/lass/1systems/prism/config.nix b/lass/1systems/prism/config.nix
index eadda5270..30d5c8dab 100644
--- a/lass/1systems/prism/config.nix
+++ b/lass/1systems/prism/config.nix
@@ -265,6 +265,13 @@ in {
alias /var/realwallpaper/realwallpaper.png;
'';
}
+ {
+ services.minecraft-server.enable = true;
+ krebs.iptables.tables.filter.INPUT.rules = [
+ { predicate = "-p tcp --dport 25565"; target = "ACCEPT"; }
+ { predicate = "-p udp --dport 25565"; target = "ACCEPT"; }
+ ];
+ }
];
krebs.build.host = config.krebs.hosts.prism;