Commit Graph

11 Commits (c028e0553c541d954b50f82f8ea058c43d8b7d22)

Author SHA1 Message Date
Jonathan de Jong b158896396 Merge remote-tracking branch 'origin/next' into complement-improvements 1 year ago
Jonas Platte 7fd5b22e3b
The procMacro option has long been on by default
… and it's good to let people have their own local configs that won't be
tracked by git.
2 years ago
Jonathan de Jong 52018c3967 allow complement dockerfile to copy over target folder 2 years ago
Jonathan de Jong ada15ceacc Complement improvements 2 years ago
Charles Hall fe7d8c4f12
add nix flake
Also add `.envrc` for direnv + Nix users. This makes developing locally
easier for us NixOS folks.

The flake itself will allow NixOS users to pull code directly from
Conduit's repository, making it completely trivial to stay up-to-date
with every commit.

I'd also like to add a NixOS module directly to this repository at some
point so that new configuration options will be available in the NixOS
module faster. But for now, NixOS users can simply override
`serivces.matrix-conduit.package` and get pretty much all the
functionality.

I've added myself to the `CODEOWNERS` file for the Nix files, since I am
willing to maintain this stuff. I use Conduit on NixOS so I'm personally
invested in having this work.

Lastly, `.gitignore` was updated to exclude symlinks created by `direnv`
and `nix build` and other such Nix commands.

This doesn't come without maintenance burden, however:

* The `sha256` in `flake.nix` will need to be updated whenever Conduit's
  MSRV is updated, but that should be pretty infrequent.

* `nix flake update` should be run every so often to pull in updates to
  `nixpkgs` and other flake inputs. I think downstream users can also
  override this themselves with `inputs.<name>.inputs.<name>.follows`.

* `nix flake check` should be run in CI to ensure Nix builds keep
  working.

* `nixpkgs-fmt --check $(fd '\.nix')` (or similar) should be run in CI
  to ensure style uniformity.
2 years ago
Jonas Platte 1f7b3fa4ac
Port from Rocket to axum 2 years ago
Jonathan de Jong 9d4fa9a220 Sqlite 3 years ago
Jonathan de Jong d0d5bc412b Add more gitignore 3 years ago
Timo Kösters 3bdaf6e79e
improvement: better default config 4 years ago
timokoesters d08f91d1c3
fix: only allow valid usernames in /register 4 years ago
timokoesters 6264628c11 Initial commit 4 years ago