Tristan Daniël Maat
663054c293
Flake lock file updates: • Updated input 'nixpkgs': 'github:nixos/nixpkgs/8bd260eb578e3fea6bce158b24c93ab158d031e7' (2023-02-26) → 'github:nixos/nixpkgs/de66115c552acc4e0c0f92c5a5efb32e37dfa216' (2023-04-17) • Updated input 'nixpkgs-unstable': 'github:nixos/nixpkgs/7f5639fa3b68054ca0b062866dc62b22c3f11505' (2023-02-26) → 'github:nixos/nixpkgs/f294325aed382b66c7a188482101b0f336d1d7db' (2023-04-16) • Updated input 'sops-nix': 'github:Mic92/sops-nix/83fe25c8019db8216f5c6ffc65b394707784b4f3' (2023-02-26) → 'github:Mic92/sops-nix/de6514f8fe1b3c2b57307569a0898bc4be9ae1c5' (2023-04-17) • Updated input 'sops-nix/nixpkgs-stable': 'github:NixOS/nixpkgs/ea736343e4d4a052e023d54b23334cf685de479c' (2023-02-25) → 'github:NixOS/nixpkgs/1040ce5f652b586da95dfd80d48a745e107b9eac' (2023-04-16) • Updated input 'tlaternet-webserver': 'git+https://gitea.tlater.net/tlaternet/tlaternet.git?ref=refs%2fheads%2fmaster&rev=d142e98788c2476b7df0a5c1e621f3f5c65c130f' (2023-01-21) → 'git+https://gitea.tlater.net/tlaternet/tlaternet.git?ref=refs%2fheads%2fmaster&rev=2ca66c4fe1b8cfdd5d873cadb2735cef555dacca' (2023-04-17) • Updated input 'tlaternet-webserver/dream2nix': 'github:nix-community/dream2nix/9f6911c78dcb0832f7fcc955e847db1a5a9ce29a' (2023-01-02) → 'github:nix-community/dream2nix/34a80ab215f1f24068ea9c76f3a7e5bc19478653' (2023-04-04) • Removed input 'tlaternet-webserver/dream2nix/alejandra' • Removed input 'tlaternet-webserver/dream2nix/alejandra/fenix' • Removed input 'tlaternet-webserver/dream2nix/alejandra/fenix/nixpkgs' • Removed input 'tlaternet-webserver/dream2nix/alejandra/fenix/rust-analyzer-src' • Removed input 'tlaternet-webserver/dream2nix/alejandra/flakeCompat' • Removed input 'tlaternet-webserver/dream2nix/alejandra/nixpkgs' • Added input 'tlaternet-webserver/dream2nix/drv-parts': 'github:davhau/drv-parts/ced8a52f62b0a94244713df2225c05c85b416110' (2023-03-30) • Added input 'tlaternet-webserver/dream2nix/drv-parts/flake-compat': follows 'tlaternet-webserver/dream2nix/flake-compat' • Added input 'tlaternet-webserver/dream2nix/drv-parts/flake-parts': follows 'tlaternet-webserver/dream2nix/flake-parts' • Added input 'tlaternet-webserver/dream2nix/drv-parts/nixpkgs': follows 'tlaternet-webserver/dream2nix/nixpkgs' • Added input 'tlaternet-webserver/dream2nix/flake-compat': 'github:edolstra/flake-compat/35bb57c0c8d8b62bbfd284272c928ceb64ddbde9' (2023-01-17) • Updated input 'tlaternet-webserver/dream2nix/flake-parts': 'github:hercules-ci/flake-parts/d591857e9d7dd9ddbfba0ea02b43b927c3c0f1fa' (2022-11-14) → 'github:hercules-ci/flake-parts/47478a4a003e745402acf63be7f9a092d51b83d7' (2023-02-09) • Updated input 'tlaternet-webserver/dream2nix/flake-parts/nixpkgs-lib': 'github:NixOS/nixpkgs/34c5293a71ffdb2fe054eb5288adc1882c1eb0b1?dir=lib' (2022-10-09) → follows 'tlaternet-webserver/dream2nix/nixpkgs' • Added input 'tlaternet-webserver/dream2nix/nixpkgsV1': 'github:NixOS/nixpkgs/5eb98948b66de29f899c7fe27ae112a47964baf8' (2023-03-11) • Added input 'tlaternet-webserver/dream2nix/pruned-racket-catalog': 'github:nix-community/pruned-racket-catalog/c8b89557fb53b36efa2ee48a769c7364df0f6262' (2023-01-01) • Updated input 'tlaternet-webserver/fenix': 'github:nix-community/fenix/eb6583fcd626051c4d284f2fb51cd2659a43e7f6' (2023-01-04) → 'github:nix-community/fenix/0d8c0d08db5fe6e5d995f4584f991ad60bbb1673' (2023-04-17) • Updated input 'tlaternet-webserver/fenix/rust-analyzer-src': 'github:rust-lang/rust-analyzer/a97c71f92d574cb5104e3e1246eb9038d1a214a2' (2023-01-03) → 'github:rust-lang/rust-analyzer/bab80dae445fd576cb4cc22ba208e9fbc39dc18d' (2023-04-16) |
||
---|---|---|
configuration | ||
keys | ||
lib | ||
modules | ||
pkgs | ||
.gitignore | ||
.sops.yaml | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
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