Commit graph

462 commits

Author SHA1 Message Date
Nicolas Jeannerod 9c08267fce
Clean up what does not belong in services 2024-11-14 18:04:02 +01:00
Nicolas Jeannerod 81ae2df87b Fix typo causing disabled CI (#5)
Reviewed-on: Fediversity/Fediversity#5
Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
Co-committed-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
2024-11-14 17:55:29 +01:00
Nicolas Jeannerod 7ac8ec85cc Flake environment with pre-commit hook; CI to enforce them. (#2)
Reviewed-on: Fediversity/Fediversity#2
Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2024-11-14 17:51:15 +01:00
Nicolas Jeannerod a888540580
Opt-in to formatting for the services/ subdirectory 2024-11-14 17:50:17 +01:00
Nicolas Jeannerod 4b77808f3f
Basic CI that checks pre-commits 2024-11-14 17:50:17 +01:00
Nicolas Jeannerod e51fca5f0e
Basic flake with pre-commit hooks 2024-11-14 17:50:17 +01:00
Nicolas Jeannerod c323453234
Move some gitignore at toplevel 2024-11-14 17:50:03 +01:00
Valentin Gagarin 3ae51fa545 deploy website from the repo (#1)
- move the impure single-node deploy helper here

  it's not used anywhere else

- reuse the pins from the website

  this needs to be cleaned up later

- don't copy the config to the server

  it's impure (can't even build that without jumping through hoops), and useless when building via SSH

Reviewed-on: Fediversity/Fediversity#1
2024-11-14 13:41:19 +01:00
Valentin Gagarin 54f484ddd7 Add 'proxmox/' from commit 'f4bfe5a265000e9dd9528817b4b332caa69cd239'
git-subtree-dir: proxmox
git-subtree-mainline: 919642f528
git-subtree-split: f4bfe5a265
2024-11-13 16:07:00 +01:00
Valentin Gagarin 919642f528 Add 'deployment/' from commit 'df36e09c1d7997dccc23d5f6ff9c1de8419ae0fe'
git-subtree-dir: deployment
git-subtree-mainline: 9a573df05f
git-subtree-split: df36e09c1d
2024-11-13 16:04:15 +01:00
Nicolas Jeannerod 9a573df05f Add pre-commit hooks for formatting and dead code 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 20f9d36481 Cleanup dead code 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 81176a1a9a Format everything, RFC-style 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 9e234e7b2d Proxy Peertube behind Nginx 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 00382102ba Require secrets file also when on metal 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 7a485c5f90 Fix typo 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 3f3e70eab5 Open port 80, necessary for ACME 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 95e572bce0 Number of cores also when on metal 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 36b622895a Support installing host keys in the installer 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 9d04ce7c99 Slight rework of the installer 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 271315747b Turn off the machine once if install is successful 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod adbd9d8d1e Fix Mastodon/Garage test 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod 8d8f6d7db0 Also forward SSH port 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod aef34ca561 Use recommended proxy settings for Garage 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod ff23062b9f Avoid clashes of security.acme.defaults options 2024-11-13 16:00:39 +01:00
Nicolas Jeannerod a89298cbf3 Bump Taeer's nixpkgs 2024-11-13 16:00:38 +01:00
Taeer Bar-Yam a129c98f8e fix test to not use ACME/SSL (again) 2024-11-13 16:00:38 +01:00
Nicolas Jeannerod 373aae778c Proxy all buckets that have website = true 2024-11-13 16:00:38 +01:00
Nicolas Jeannerod aed4b3a744 No certificate for Garage web root domain 2024-11-13 16:00:38 +01:00
Valentin Gagarin 5179283b83 add mobile style 2024-11-13 15:47:12 +01:00
Valentin Gagarin a6e764d2fc list events on the dedicated page more like articles 2024-11-13 15:47:12 +01:00
Valentin Gagarin 3b002a5d2d add a desktop stylesheet
it also features a dark mode
2024-11-13 15:47:12 +01:00
Valentin Gagarin 4f37c5b7b2 style 2024-11-13 15:47:12 +01:00
Valentin Gagarin 457f0adee7 more structured front page
this allows for more customised styling
2024-11-13 15:47:12 +01:00
Valentin Gagarin 91ab0e3cd4 remove legacy stylesheet 2024-11-13 15:47:12 +01:00
Valentin Gagarin 555974a3af fix <hgroup> rendering 2024-11-13 15:47:12 +01:00
Valentin Gagarin 27a7ba84bd add stylesheet with fonts 2024-11-13 15:47:12 +01:00
Valentin Gagarin 419f2b881b implement raw assets
this allows adding files to the output as they are
2024-11-13 15:47:12 +01:00
Valentin Gagarin 6e3bd814f1 move inline recursiveAttrs to lib.types 2024-11-13 15:47:12 +01:00
Valentin Gagarin cb8363ebb5 implement stylesheet links 2024-11-13 15:47:12 +01:00
Valentin Gagarin b1d8ac85e0 build with full trace 2024-11-13 15:47:12 +01:00
Valentin Gagarin ed2e0679c4 add .direnv to gitingore 2024-11-13 15:47:12 +01:00
Valentin Gagarin c60d10b355 add todo concerning palpable content 2024-11-13 15:47:12 +01:00
Valentin Gagarin 9e97ca3f14 list all news articles on a separate page 2024-11-13 15:47:12 +01:00
Valentin Gagarin 23462e3110 add past events and list them on a page 2024-11-13 15:47:12 +01:00
Valentin Gagarin 61b2d07b1d add event content type 2024-11-13 15:47:12 +01:00
Valentin Gagarin d5b329ede9 implement definition lists with dl, dt, dd 2024-11-13 15:47:12 +01:00
Valentin Gagarin d0c7f1cad1 make template overrides take final and prev 2024-11-13 15:47:12 +01:00
Valentin Gagarin 1fe519c838 add note on using direnv 2024-11-13 15:47:12 +01:00
Valentin Gagarin f837b436d7 add devmode for live preview 2024-11-13 15:47:12 +01:00