Tristan Daniël Maat
486a68078f
Flake input changes: * Updated 'flake-utils': 'github:numtide/flake-utils/b2c27d1a81b0dc266270fa8aeecebbd1807fc610' -> 'github:numtide/flake-utils/2ebf2558e5bf978c7fb8ea927dfaed8fefab2e28' * Updated 'nixos-hardware': 'github:nixos/nixos-hardware/7c00c8b5cab5dedb6519eabba7ca6d069e2dfdae' -> 'github:nixos/nixos-hardware/f7540d6c27704ec0fe56ecc8b2a9b663181850b0' * Updated 'nixpkgs': 'github:nixos/nixpkgs/a7ff7a57c96588fd89370568b72751dd15d24e72' -> 'github:nixos/nixpkgs/d4e7af972158a14ebdd9c828b1c2e07e2ce7ef1c' |
||
---|---|---|
configuration | ||
keys | ||
lib | ||
modules | ||
pkgs | ||
.gitignore | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
README.md |
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.