Go to file
Tristan Daniël Maat d6a7df08fb
forge-server: Fix installation dir not being writeable
Not sure how I could miss this before pushing; I presume my nix store
wasn't cleaned thoroughly and this was some odd side-effect?
2021-04-25 22:38:51 +01:00
configuration forge-server: Fix potential duplicate definition of config 2021-04-25 21:05:47 +01:00
keys Start reworking the server for nix flakes 2021-04-12 01:58:03 +01:00
lib Add support for building minecraft modpacks 2021-04-25 06:23:08 +01:00
modules Implement podman pods option 2021-04-12 01:58:05 +01:00
pkgs forge-server: Fix installation dir not being writeable 2021-04-25 22:38:51 +01:00
.gitignore Start reworking the server for nix flakes 2021-04-12 01:58:03 +01:00
flake.lock Add webserver service 2021-04-12 01:58:11 +01:00
flake.nix Add support for building minecraft modpacks 2021-04-25 06:23:08 +01:00
LICENSE Add LICENSE 2019-11-26 23:26:10 +00:00
README.md Boot VM in text mode 2021-04-25 02:41:38 +01:00

tlater.net server configuration

This is the NixOS configuration for tlater.net.

Testing

Building

Build the VM with:

nixos-rebuild build-vm --flake '.#vm'

Running

Note: M-2 will bring up a console for poweroff and such

Running should mostly be as simple as running the command the build script echos.

One caveat: create a larger disk image first. This can be done by running the following in the repository root:

qemu-img create -f qcow2 ./tlaternet.qcow2 20G

Everything else should be handled by the devShell.

New services

Whenever a new service is added, append an appropriate ,hostfwd=::3<port>:<port> to the QEMU_NET_OPTS specified in flake.nix to bind the service to a host port.

There is no way to test this without binding to the host port, sadly.