Add minecraft service
This is an initial configuration to restore old services. Obviously, vendoring everything in a tarball is pretty awful, and if I ever wanted to open source this, that would be a problem. I intend to create a proper derivation in time, but including mods is difficult from some initial experimentation.
This commit is contained in:
parent
74a19ed164
commit
1f0c70f1c2
5 changed files with 133 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ tlaternet.qcow2:
|
|||
nix-shell -p qemu --run 'qemu-img create -f qcow2 $@ 10G'
|
||||
|
||||
run: result tlaternet.qcow2
|
||||
QEMU_OPTS="-m 4096 -nographic" QEMU_NET_OPTS="hostfwd=tcp::2222-:2222,hostfwd=tcp::8000-:80" ./result/bin/run-tlaternet-vm
|
||||
QEMU_OPTS="-m 4096 -nographic" QEMU_NET_OPTS="hostfwd=tcp::2222-:2222,hostfwd=tcp::8000-:80,hostfwd=tcp::25565-:25565" ./result/bin/run-tlaternet-vm
|
||||
|
||||
format: $(wildcard etc/nixos/**/*.nix)
|
||||
nix-shell -p nixpkgs-fmt --run 'nixpkgs-fmt $^'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue