Find a file
2024-03-03 01:24:32 +01:00
configuration WIP: Add hetzner config 2024-03-03 01:24:32 +01:00
keys WIP: Add hetzner config 2024-03-03 01:24:32 +01: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 treewide: Upgrade to NixOS 23.11 2023-12-30 19:41:06 +01:00
.gitignore Start reworking the server for nix flakes 2021-04-12 01:58:03 +01:00
.sops.yaml WIP: Add hetzner config 2024-03-03 01:24:32 +01:00
flake.lock WIP: Add hetzner config 2024-03-03 01:24:32 +01:00
flake.nix WIP: Add hetzner config 2024-03-03 01:24:32 +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

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