depot/third_party/tvl
2024-06-09 00:52:59 +01:00
..
.nixery Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
corp treewide: fix things up for new nixpkgs 2022-10-02 22:23:44 +01:00
docs Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
fun treewide: fix things up for new nixpkgs 2022-10-02 22:23:44 +01:00
lisp Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
net Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
nix 3p/tvl/nix/buildGo: drop context to fix newer Nix 2024-06-09 00:52:59 +01:00
ops treewide: fix things up for new nixpkgs 2022-10-02 22:23:44 +01:00
third_party 3p/tvl: more refactoring to plumb system through 2023-03-12 14:42:30 +00:00
tools 3p/tvl/tools/cheddar: apply aarch64 fix 2023-01-22 23:12:20 +00:00
tvix treewide: fix things up for new nixpkgs 2022-10-02 22:23:44 +01:00
users Project import generated by Copybara. 2023-01-11 08:51:40 +01:00
views Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
web treewide: fix things up for new nixpkgs 2022-10-02 22:23:44 +01:00
.envrc Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
.git-blame-ignore-revs Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
.gitignore Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
.hgignore Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
.mailmap Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
.rgignore Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
buf.yaml Project import generated by Copybara. 2020-09-29 23:42:59 -04:00
copy.bara.sky depotwide: cleanup after tvl bump 2022-05-21 18:03:00 +01:00
default.nix 3p: plumb current system through tvl 2023-03-12 14:20:06 +00:00
LICENSE Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
OWNERS Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
README.md Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
RULES Project import generated by Copybara. 2022-05-19 16:39:52 +02:00
rustfmt.toml Project import generated by Copybara. 2022-05-19 16:39:52 +02:00

depot

Build status

This repository is the monorepo for the community around The Virus Lounge, containing our personal tools and infrastructure. Everything in here is built using Nix.

A large portion of the software here is very self-referential, meaning that it exists to sustain the operation of the repository. This is the case because we partially see this as an experiment in tooling for monorepos.

Highlights

Services

  • Source code is available primarily through Sourcegraph on cs.tvl.fyi, where it is searchable and even semantically indexed. A lower-tech view of the repository is also available via cgit on code.tvl.fyi.

    The repository can be cloned using git from https://cl.tvl.fyi/depot.

  • All code in the depot, with the exception of code that is checked in to individual //users folders, needs to be reviewed. We use Gerrit on cl.tvl.fyi for this.

  • Issues are tracked via our own issue tracker on b.tvl.fyi. Its source code lives at //web/panettone/.

  • Smaller todo-list entries which do not warrant a separate issue are listed at todo.tvl.fyi.

  • We use Buildkite for CI. Recent builds are listed on tvl.fyi/builds and pipelines are configured dynamically via //ops/pipelines.

  • A search service that makes TVL services available via textual shortcuts is available: atward

All services that we host are deployed on NixOS machines that we manage. Their configuration is tracked in //ops/{modules,machines}.

Nix

  • //nix/readTree contains the Nix code which automatically registers projects in our Nix attribute hierarchy based on their in-tree location
  • //tools/nixery contains the source code of Nixery, a container registry that can build images ad-hoc from Nix packages
  • //nix/yants contains Yet Another Nix Type System, which we use for a variety of things throughout the repository
  • //nix/buildGo implements a Nix library that can build Go software in the style of Bazel's rules_go. Go programs in this repository are built using this library.
  • //nix/buildLisp implements a Nix library that can build Common Lisp software. Currently only SBCL is supported. Lisp programs in this repository are built using this library.
  • //web/bubblegum contains a CGI-based web framework written in Nix.
  • //nix/nint: A shebang-compatible interpreter wrapper for Nix.
  • //tvix contains initial work towards a modular architecture for Nix.
  • //third_party/nix contains our fork of the Nix package manager.

We have a variety of other tools and libraries in the //nix folder which may be of interest.

Packages / Libraries

  • //net/alcoholic_jwt contains an easy-to-use JWT-validation library for Rust
  • //net/crimp contains a high-level HTTP client using cURL for Rust
  • //tools/emacs-pkgs contains various useful Emacs libraries, for example:
    • dottime.el provides dottime in the Emacs modeline
    • nix-util.el provides editing utilities for Nix files
    • term-switcher.el is an ivy-function for switching between vterm buffers
    • tvl.el provides helper functions for interacting with the TVL monorepo
  • //lisp/klatre provides a grab-bag utility library for Common Lisp

User packages

Contributors to the repository have user directories under //users, which can be used for personal or experimental code that does not require review.

Some examples:

  • //users/tazjin/homepage && //users/tazjin/blog: A Nix-based static site generator which generates the web page and Atom feed for tazj.in
  • //users/grfn/xanthous: A (WIP) TUI RPG, written in Haskell.
  • //users/tazjin/emacs: tazjin's Emacs & EXWM configuration
  • //users/tazjin/finito: A persistent finite-state machine library for Rust.

Licensing

Unless otherwise stated in a subdirectory, all code is licensed under the MIT license. See LICENSE for details.

Contributing

If you'd like to contribute to any of the tools in here, please check out the contribution guidelines and our code of conduct.

IRC users can find us in #tvl on hackint, which is also reachable via XMPP at #tvl@irc.hackint.org (sic!).

Hackint also provide a web chat.