Commit graph

452 commits

Author SHA1 Message Date
Florian Klink
cbe13c01a3 feat(web): add nlnet logo
This was long overdue. Thanks NLNET!

Change-Id: I62fb4d3325a8e91cd79ae28fd30edf79a448056b
Reviewed-on: https://cl.snix.dev/c/snix/+/30375
Reviewed-by: edef <edef@edef.eu>
Autosubmit: Florian Klink <flokli@flokli.de>
Tested-by: besadii
2025-05-01 17:53:00 +00:00
Florian Klink
e2ff3783c9 fix(web): opt out subtree from readTree
We don't want readTree to descent inside web/, especially not in the
node_modules directory that might be present in local checkouts.

Change-Id: Ia1c2147a76f22560947d367f4e94e4c91bb66512
Reviewed-on: https://cl.snix.dev/c/snix/+/30334
Autosubmit: Florian Klink <flokli@flokli.de>
Tested-by: besadii
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
2025-04-24 08:39:11 +00:00
Florian Klink
048e9da83d docs(castore/why-not-git): update BLAKE3 references
Use the all-caps version, like in other places of the docs.

Change-Id: I74a21f9015ba128456f6ee0b652ad12056b4e88b
Reviewed-on: https://cl.snix.dev/c/snix/+/30329
Autosubmit: Florian Klink <flokli@flokli.de>
Tested-by: besadii
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
2025-04-18 19:18:12 +00:00
Florian Klink
21b5c8a7b7 fix(web/components/castore/data-model): fix links
Fix the broken link to PathComponent.

Write `[BLAKE3][]` instead of just `[BLAKE3]` to be consistent with
other links.

Change-Id: If8651de9d2401a81e47281216707e442b5ff1932
Reviewed-on: https://cl.snix.dev/c/snix/+/30328
Tested-by: besadii
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Autosubmit: Florian Klink <flokli@flokli.de>
2025-04-18 19:18:12 +00:00
Florian Klink
c9082a586c docs(web/snix/castore): port "why not git" document
Change-Id: I4ac77f264d2704018cd33dbf80746e82d193686e
Reviewed-on: https://cl.snix.dev/c/snix/+/30315
Reviewed-by: Domen Kožar <domen@cachix.org>
Tested-by: besadii
Autosubmit: Florian Klink <flokli@flokli.de>
2025-04-18 18:05:31 +00:00
Florian Klink
b2d2d622e0 docs(web/snix/castore): port castore data model
Also restructure this, explaining the Rust data types, and then
explaining the differences with the proto implementation, which uses
"entry" since cl/30296.

Change-Id: Ie264ab60998f0d891b4a4ea680a2d9dbe1c5929e
Reviewed-on: https://cl.snix.dev/c/snix/+/30314
Autosubmit: Florian Klink <flokli@flokli.de>
Reviewed-by: Domen Kožar <domen@cachix.org>
Tested-by: besadii
2025-04-18 18:05:31 +00:00
Domen Kožar
5b81892ddf chore: load snix shell using direnv
Change-Id: I6edd4aff7b46d8f3f75462d1576b3f4ffd7f16b8
Reviewed-on: https://cl.snix.dev/c/snix/+/30304
Reviewed-by: Florian Klink <flokli@flokli.de>
Tested-by: besadii
2025-04-09 12:03:59 +00:00
Florian Klink
2ed36b49b5 fix(docs/components/overview): prevent overlap in component diagram
This prevents the SVG from overflowing into the "On this page" sidebar
on the right. We apparently still need to set a height.

Change-Id: Iae4183f92115b3190195a5f524bff18b18ad4d39
Reviewed-on: https://cl.snix.dev/c/snix/+/30297
Tested-by: besadii
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Autosubmit: Florian Klink <flokli@flokli.de>
2025-04-04 23:52:43 +00:00
Florian Klink
bbe5a72aa6 docs(architecture/overview): describe CLI a bit more
Change-Id: Icab9cc26119fb7114794edf1f56494e41e5d63b2
Reviewed-on: https://cl.snix.dev/c/snix/+/30299
Tested-by: besadii
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Autosubmit: Florian Klink <flokli@flokli.de>
2025-04-04 23:52:13 +00:00
Florian Klink
d108eecb24 fix(web): update derivation name
Change-Id: I0728a08fbb4280d5d2e088a4694255e4ccec7c08
Reviewed-on: https://cl.snix.dev/c/snix/+/30295
Autosubmit: Florian Klink <flokli@flokli.de>
Tested-by: besadii
Reviewed-by: edef <edef@edef.eu>
2025-04-04 16:41:15 +00:00
Florian Klink
14115930cc docs(web/building): document dev binary cache setup
Change-Id: Ia4880b5a2d673acbe264e4e1d8ef301080e0459e
Reviewed-on: https://cl.snix.dev/c/snix/+/30287
Autosubmit: Florian Klink <flokli@flokli.de>
Tested-by: besadii
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
2025-03-31 12:59:00 +00:00
Florian Klink
6f9c54bbd1 docs(reference/nix-daemon): fix some links
[se-StorePathName] was missing in the footnotes, and links to sets were
wrong.

Also rename serialization.md to types.md to match the title.

Change-Id: I8e602df1958cf5354c6fd3a5c16cbe859a0549b9
Reviewed-on: https://cl.snix.dev/c/snix/+/30275
Autosubmit: Florian Klink <flokli@flokli.de>
Tested-by: besadii
Reviewed-by: Brian Olsen <brian@maven-group.org>
2025-03-28 22:56:26 +00:00
Florian Klink
8101e7a45f docs(reference/nix-daemon-protocol): migrate
This moves the daemon protocol reference to the "Reference" section in
our new docs.

It also updates them a bit, we now use `{{< relref "path/to/file.md" >}}`
to refer to other files, and fixes the (previously broken) references
in handshake.md.

Change-Id: I114e40622dc504e7a5f75946895900e797a1e722
Reviewed-on: https://cl.snix.dev/c/snix/+/30273
Autosubmit: Florian Klink <flokli@flokli.de>
Tested-by: besadii
Reviewed-by: Brian Olsen <brian@maven-group.org>
2025-03-24 17:33:58 +00:00
Florian Klink
76250b354f docs(reference/*): drop
These only contain placeholder text for now.

Change-Id: I377dc4f2bdec8911ece74c3914608289f3e51fdc
Reviewed-on: https://cl.snix.dev/c/snix/+/30272
Autosubmit: Florian Klink <flokli@flokli.de>
Tested-by: besadii
Reviewed-by: Brian Olsen <brian@maven-group.org>
2025-03-24 17:33:58 +00:00
Florian Klink
c57ea7c7e3 docs(snix): move some more docs
Absorb some of the paragraphs from snix/docs/src/architecture.md, as
well as the blog post around the builder protocol, and extend it with a
bit more context.

The parts about the Evaluator are largely outdated (see the warning
above in that file), and otherwise already covered.

Update and restructure protocol.md to describe the goals of the builder.

Change-Id: I26ed625f7b6fcfded3e65cf87b00ceb33b75f229
Reviewed-on: https://cl.snix.dev/c/snix/+/30264
Reviewed-by: edef . <edef@edef.eu>
Tested-by: besadii
Autosubmit: Florian Klink <flokli@flokli.de>
2025-03-23 22:40:27 +00:00
Florian Klink
1a78270f54 fix(web/guides/local-overlay): fix link inside callout
It seems this is its own Markdown context of some sort, so that
hyperlink url needs to be moved inside to work.

Change-Id: Id35fdf97ccc7a5ed087360d27a2cda3a7df0c850
Reviewed-on: https://cl.snix.dev/c/snix/+/30265
Tested-by: besadii
Reviewed-by: Vova Kryachko <v.kryachko@gmail.com>
Autosubmit: Florian Klink <flokli@flokli.de>
2025-03-23 21:59:21 +00:00
Florian Klink
1fab06d851 fix(web/blog/overlay-store): another editing pass
Add a bit more information, callouts to prevent people potentially
bricking their laptops.

Also change the performance section, we will

Change-Id: Id516c4bb0f0c2cbe99db86199b91c7d68becdd44
Reviewed-on: https://cl.snix.dev/c/snix/+/30254
Autosubmit: Florian Klink <flokli@flokli.de>
Tested-by: besadii
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
2025-03-23 02:04:40 +00:00
Florian Klink
7c43881113 fix(web/blog/overlay-store): fix reference, update title
Change-Id: I3bed75a6cbbf616462d1c5efa29d42af7853ebe3
Reviewed-on: https://cl.snix.dev/c/snix/+/30253
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Tested-by: besadii
Autosubmit: Florian Klink <flokli@flokli.de>
2025-03-23 02:01:09 +00:00
Florian Klink
f2ce906b07 feat(snix/web): add icon next to external links
Change-Id: Iff9f0ebf73d0cf3bcf2383abd5d87f4f22ad4cd1
Reviewed-on: https://cl.snix.dev/c/snix/+/30256
Autosubmit: Florian Klink <flokli@flokli.de>
Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Tested-by: besadii
2025-03-23 02:01:09 +00:00
Vova Kryachko
57033490de feat(blog): Add nix-deamon blog and guide.
Change-Id: I46b8632ac2bfa43ccf95bd63d37e08a8f6b0869e
Reviewed-on: https://cl.snix.dev/c/snix/+/30244
Autosubmit: Vova Kryachko <v.kryachko@gmail.com>
Tested-by: besadii
Reviewed-by: Florian Klink <flokli@flokli.de>
2025-03-23 00:53:00 +00:00
Paul Meyer
bfd948c6e2 fix(treewide): remove trailing whitespace
Change-Id: I3116d3f397ba309be2418e188327143c7187b789
Reviewed-on: https://cl.snix.dev/c/snix/+/30235
Reviewed-by: Florian Klink <flokli@flokli.de>
Tested-by: besadii
Reviewed-by: Paul Meyer <katexochen0@gmail.com>
Autosubmit: Paul Meyer <katexochen0@gmail.com>
2025-03-22 17:29:59 +00:00
Johannes Kirschbauer
655682e23e doc(contributing): place commit conventions upfront
Change-Id: I26675ad0414209fdef723159576ef845f839e9a3
Reviewed-on: https://cl.snix.dev/c/snix/+/30227
Tested-by: besadii
Reviewed-by: Florian Klink <flokli@flokli.de>
Autosubmit: Johannes Kirschbauer <hsjobeki+github@gmail.com>
2025-03-21 16:13:25 +00:00
Paul Meyer
7957909977 fix(web): remove windows line endings
Change-Id: I41ce21a927dfac5bfc9697cfce3058f3af87bb00
Reviewed-on: https://cl.snix.dev/c/snix/+/30231
Autosubmit: Paul Meyer <katexochen0@gmail.com>
Reviewed-by: Florian Klink <flokli@flokli.de>
Tested-by: besadii
2025-03-21 13:29:01 +00:00
adisbladis
726ce7ca9b chore(web): Build website using importNpmLock from nixpkgs
This allows us to remove npmlock2nix as a dependency.

Change-Id: Ic08a2ba082618292c6ea34141bcaeb3b04a306a9
Reviewed-on: https://cl.snix.dev/c/snix/+/30117
Tested-by: besadii
Reviewed-by: Florian Klink <flokli@flokli.de>
2025-03-19 12:16:24 +00:00
Paul Meyer
615c24a9c8 fix(website): add missing dollar signs
Change-Id: Ia7bea559cb2de651909d068ee312d721c2ae9983
Signed-off-by: Paul Meyer <katexochen0@gmail.com>
Reviewed-on: https://cl.snix.dev/c/snix/+/30138
Tested-by: besadii
Reviewed-by: Florian Klink <flokli@flokli.de>
2025-03-19 11:28:03 +00:00
Paul Meyer
dce4263607 fix(website): make $ non-selectable
This will fix the copy button to copy the line without $.

Fixes #78

Change-Id: If569efb01e8bf0008d111bfcd74b5dbf3c73ea81
Signed-off-by: Paul Meyer <katexochen0@gmail.com>
Reviewed-on: https://cl.snix.dev/c/snix/+/30137
Reviewed-by: Florian Klink <flokli@flokli.de>
Tested-by: besadii
2025-03-19 11:27:03 +00:00
Paul Meyer
0b717258f0 fix(website): remove all windows line endings
Change-Id: I340486d90a1fb74e26b31f1f330f61ee2b570c43
Reviewed-on: https://cl.snix.dev/c/snix/+/30139
Autosubmit: Paul Meyer <katexochen0@gmail.com>
Reviewed-by: Florian Klink <flokli@flokli.de>
Tested-by: besadii
2025-03-19 11:15:01 +00:00
Márton Boros
dd3bd7563d fix(docs): Typo in building guide repo url
Change-Id: I3b5db647fa8e187ddd28cb6cfb6d60dddb1d4611
Reviewed-on: https://cl.snix.dev/c/snix/+/30068
Reviewed-by: Florian Klink <flokli@flokli.de>
Tested-by: besadii
2025-03-17 23:26:54 +00:00
Florian Klink
dd392ef054 feat(ops/keycloak): add GitLab SSO
Change-Id: I41ee3cb2988288e6b282d85b111c41064f09eaec
2025-03-17 17:15:08 +00:00
Florian Klink
b0ec1e1053 feat(web/website): add announcement blogpost
Change-Id: I68e9e832046c6e2e406ab24da2389b05c37de887
2025-03-17 17:15:08 +00:00
Florian Klink
91d8b86b39 feat(web/website): init
This adds a new Website/Docs for Snix, using Thulite / Doks, which is
mostly hugo and a bit of npm.

Change-Id: Iea10d4068fa783ec0ddd6bcaba5c8d92b1a1168f
2025-03-17 17:15:08 +00:00
Florian Klink
944acead3e chore(web/snixbolt): move to contrib
Change-Id: Ic69648c526e6c1a0b769b26642b3c799872eb87c
2025-03-17 17:15:08 +00:00
Florian Klink
36e4d017f5 chore(snix): s/tvix/snix/
Change-Id: Iae961416eea0a38bc57df7b736f6dda5903b0828
2025-03-17 17:15:08 +00:00
Florian Klink
768f053416 feat(web/*): drop most things
Change-Id: I85dde8470a4cf737bc193e0b50d0a4b5ee6d7f56
2025-03-17 17:15:08 +00:00
Florian Klink
df4500ea2b chore(*): drop everything that is not required for Tvix
Co-Authored-By: edef <edef@edef.eu>
Co-Authored-By: Ryan Lahfa <raito@lix.systems>
Change-Id: I9817214c3122e49d694c5e41818622a08d9dfe45
2025-03-17 16:18:26 +00:00
sterni
5615813e72 fix(web/panettone): initialise *oauth2-redirect-uri* at runtime
Optimisations seem to cause *oauth2-redirect-uri* to be baked in if we
try to check the environment in DEFVAR.

Change-Id: Id53b880061239141936298f673ff8e745442af94
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13186
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
2025-03-02 13:50:18 +00:00
Vincent Ambo
5f17df8548 chore(3p/sources): bump channels & overlays (2025-02-02)
Included changes/fixes:

* bumped all `wasm-bindgen` usages again
* regenerated protobuf files
* keycloak terraform provider has been migrated to new name
  This also included a state migration in the bucket, which I've already
  performed.
* tvix/boot: disable tests that are broken in CI
* users/aspen/yeren: avoid upgrading kernel to 6.12
  digimend depends on a fix: https://github.com/NixOS/nixpkgs/pull/378830/

Change-Id: I657dcf5c4d0d08f231bfe30e37c8062bfcfaaa32
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13098
Reviewed-by: aspen <root@gws.fyi>
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Autosubmit: tazjin <tazjin@tvl.su>
2025-02-09 09:00:22 +00:00
Vincent Ambo
c88fae5277 chore: remove whitby configuration
Removes whitby DNS records and other related configuration that is no longer
required now that whitby is gone.

whitby served us well. RIP.

This resolves b/433.

Change-Id: I56fe6f88cde9112fc3bfc79758ac33e88a743422
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13117
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
2025-02-07 22:18:00 +00:00
sterni
dd5100acf5 chore: rewrite uses of cs.tvl.fyi to code.tvl.fyi
I've checked the new links manually.

- //web/tvl: changed the target path of links to the tvix docs since
  they were moved in r/2378.

- //users/aspen/resume: Tvix is no longer //third_party/nix.

Change-Id: I419bae1a46bdccc7baa7327215aa2368ffc0f01c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13043
Reviewed-by: aspen <root@gws.fyi>
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: fogti <fogti+devel@ytrizja.de>
Reviewed-by: tazjin <tazjin@tvl.su>
2025-01-30 02:19:06 +00:00
sterni
a484ed7981 test(web/atward): remove leftover reference to cs.tvl.fyi
Change-Id: If5ef3811eed7699981aca831f23b5115b02289c9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13046
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
2025-01-29 22:22:52 +00:00
sterni
fe2a1f035c fix(web/todolist): generate links to code.tvl.fyi
Change-Id: I4116eedcebcedf44594e160d580d8840914d2537
Reviewed-on: https://cl.tvl.fyi/c/depot/+/13045
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
2025-01-29 22:22:52 +00:00
Vincent Ambo
5cdede844f feat(planet-mars): add CI configuration
Adds CI configuration that builds the Rust package, and exports the package back
to Github after submits to canon.

Change-Id: I2f8dcff2a614898c55115f44510543ff25d46b55
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12996
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: thk <thomas@koch.ro>
2025-01-13 09:06:40 +00:00
Vincent Ambo
0a83e6567b subtree(web/planet-mars): import project from previous upstream
This project is moving into the depot. Upstream is
github/thkoch2001/planet-mars.

This commit does not yet add a Nix build, only imports the code and matches
formatting requirements.

The import has been josh-filtered, which will allow us to continue publishing
the history to the previous repo.

Change-Id: I9cb184b5af3f74a0b4079bac499b4db039b7939b
2025-01-13 11:48:33 +03:00
Thomas Koch
1d9812d3cb also commit Cargo.lock 2025-01-13 09:27:39 +02:00
Thomas Koch
0bd9eb5051 update README 2025-01-13 09:26:36 +02:00
Thomas Koch
08160c315b fix previous commit :-( 2025-01-12 21:15:26 +02:00
Thomas Koch
ac805654bd set explicit versions for deps and update 2025-01-12 21:14:37 +02:00
Thomas Koch
ef8c39ed85 fix double https://https:// in useragent 2025-01-12 21:14:20 +02:00
Thomas Koch
c8c0f691ab fix typo in atom template, link element 2025-01-12 20:49:38 +02:00
Thomas Koch
150314936c get authors also from feed data + some css 2025-01-12 20:13:18 +02:00