Go to file
Tristan Daniël Maat 95b5d4b3bd
nginx: Reduce number of rotated logs kept around
2023-12-15 17:04:42 +01:00
configuration nginx: Reduce number of rotated logs kept around 2023-12-15 17:04:42 +01:00
keys metrics: Add metrics with victoriametrics + grafana 2023-10-12 20:41:04 +02:00
lib refactoring: Use flake-inputs instead of awkwardly passing through 2023-02-26 05:59:09 +00:00
modules webserver: Use a hardened systemd unit instead of a container 2022-10-14 05:58:11 +01:00
pkgs metrics: Add metrics with victoriametrics + grafana 2023-10-12 20:41:04 +02:00
.gitignore Start reworking the server for nix flakes 2021-04-12 01:58:03 +01:00
.sops.yaml sops: Improve secrets provisioning to split out staging 2022-10-12 23:22:50 +01:00
LICENSE Add LICENSE 2019-11-26 23:26:10 +00:00
README.md README.md: Update to new and improved flake mechanisms 2022-10-17 14:29:56 +01:00
flake.lock flake.lock: Update 2023-09-17 21:25:14 +02:00
flake.nix metrics: Add metrics with victoriametrics + grafana 2023-10-12 20:41:04 +02:00

README.md

tlater.net server configuration

This is the NixOS configuration for tlater.net.

Testing

Run a test VM with:

nix run

Running

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

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

New services

Whenever a new service is added, add an appropriate port binding to qemuNetOpts in the default app.

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

Deploying

Deployment is handled using deploy-rs:

deploy .#tlaternet