Find a file
2023-01-11 02:38:56 +00:00
configuration config: Make changes suggested post 22.11 update 2023-01-11 02:38:56 +00:00
keys keys/staging: Add a few missing keys that made the vm break 2023-01-11 02:38:45 +00:00
lib matrix-conduit: Stop using the version from unstable 2023-01-11 02:21:39 +00:00
modules webserver: Use a hardened systemd unit instead of a container 2022-10-14 05:58:11 +01:00
pkgs nextcloud: Update the service and apps for 22.11 2023-01-11 02:38:42 +00: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
flake.lock flake.lock: Update 2023-01-11 02:38:39 +00:00
flake.nix flake.nix: Build the VM using nix build 2023-01-11 02:38:47 +00: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