You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Tristan Daniël Maat 8f4399c1dd
nextcloud: Update apps
1 month ago
configuration matrix: Add heisenbridge 1 month ago
keys matrix: Add heisenbridge 1 month ago
lib refactoring: Use flake-inputs instead of awkwardly passing through 1 month ago
modules webserver: Use a hardened systemd unit instead of a container 6 months ago
pkgs nextcloud: Update apps 1 month ago
.gitignore Start reworking the server for nix flakes 2 years ago
.sops.yaml sops: Improve secrets provisioning to split out staging 6 months ago
LICENSE Add LICENSE 3 years ago
README.md README.md: Update to new and improved flake mechanisms 6 months ago
flake.lock flake.lock: Update 1 month ago
flake.nix conduit: Update to 0.5.0 1 month ago

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