Commit graph

69 commits

Author SHA1 Message Date
Tristan Daniël Maat 26ec66d03e
Refactor and update flake 2022-08-14 00:28:06 +01:00
Tristan Daniël Maat e7c9222070
Update to NixOS 22.05 2022-06-20 14:46:36 +01:00
Tristan Daniël Maat 9c28ac6de1
Update cargo deps 2022-06-20 14:46:26 +01:00
Tristan Daniël Maat 1232950c06
Cargo.lock: Update dependencies 2021-10-05 12:25:30 +01:00
Tristan Daniël Maat 017bd257c7
flake.lock: Update
Flake lock file changes:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/5466c5bbece17adaab2d82fae80b46e807611bf3' (2021-02-28)
  → 'github:numtide/flake-utils/7e5bf3925f6fbdfaf50a2a7ca0be2879c4261d19' (2021-09-13)
• Updated input 'naersk':
    'github:nmattia/naersk/e0fe990b478a66178a58c69cf53daec0478ca6f9' (2021-03-03)
  → 'github:nmattia/naersk/ee7edec50b49ab6d69b06d62f1de554efccb1ccd' (2021-09-21)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/310885ec804f9fa0db5c705c7f5d35d415f50564' (2021-03-29)
  → 'github:nixos/nixpkgs/a13824fe5e38187fbc75cd598b5c06bdcc13501f' (2021-09-23)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/38766381042021f547a168ebb3f10305dc6fde08' (2021-03-30)
  → 'github:oxalica/rust-overlay/9c2fc6a62ccbc6f420d71ecac6bf0b84dbbee64f' (2021-10-05)
2021-10-05 12:17:57 +01:00
Tristan Daniël Maat ff25f151d3
Rename flake packages collection 2021-04-09 19:17:37 +01:00
Tristan Daniël Maat ba9fa8f37d
Rename the package to tlaternet-webserver
This is less confusing than naming it the same as the server domain
name.
2021-04-09 19:17:35 +01:00
Tristan Daniël Maat 697d8b8b2c
Remove obsolete nix file 2021-03-31 22:33:10 +01:00
Tristan Daniël Maat 9698113ab3
Update cargo deps 2021-03-31 22:26:27 +01:00
Tristan Daniël Maat 68d5b081b1
Include a package in the flake 2021-03-31 22:26:19 +01:00
Tristan Daniël Maat 620b84fd46
Use a nix flake with oxalica/rust-overlay instead of a shell.nix 2021-03-31 02:36:00 +01:00
Tristan Daniël Maat c51feeac77
Update cargo dependencies 2020-10-30 23:49:41 +00:00
Tristan Daniël Maat 8b0083b13e
Add nix build script 2020-10-30 23:49:38 +00:00
Tristan Daniël Maat 114a87885e
Do not verify cargo deps
This seems to currently not be possible.
2020-07-20 20:55:00 +01:00
Tristan Daniël Maat 4638955d5c
Add nix build script 2020-07-20 20:54:50 +01:00
Tristan Daniël Maat 1819a95b3b
Update dependencies
This is to work around a bug in rocket that caused compilation to
fail.
2020-07-11 22:41:26 +01:00
Tristan Daniël Maat 9c5f1dbca3
Store mail to /srv/mail
We should probably read configuration to determine where mail should
go, but for now should suffice.
2020-07-11 22:41:24 +01:00
Tristan Daniël Maat bd5604be63
Read StaticFiles from the templates directory
This may seem a bit paradoxical, but since the templates are generated
using parcel, and this just dumps everything into the root, static
files are kept in the same directory as template files.

This may change in the future.
2020-07-11 22:41:22 +01:00
Tristan Daniël Maat 241ecb1099
Initial implementation 2020-06-10 22:30:05 +01:00