Commit Graph

14 Commits

Author SHA1 Message Date
96d421c308 add pre-commit check
make sure things are sane before they hit CI, re-purposing the existing
treefmt configuration.

this adds a custom installer for pre-commit hooks, which is inspired by
pre-commit.nix[0], but is much more minimal than the underlying
pre-commit[1] and builds on a historic idea[2] from this repository.

[0]: https://github.com/cachix/git-hooks.nix
[1]: https://github.com/pre-commit/pre-commit
[2]: 930923512c
2024-05-22 23:35:10 +02:00
e296a3019d re-format with nixfmt 2024-03-17 19:48:49 +01:00
d7939e3cba add nix to devShell
It's important for some tests that package manager used inside NixOS vms is the same as outside
2024-03-17 18:31:16 +01:00
f7bb5d7aaf devshells: cleanup 2024-03-02 11:55:15 +07:00
d1e8b1ed96 devShells: one global python devshell + activation via command
- this adds devShells.{system}.python
- a 'select-shell' command to switch between devshells
2024-03-01 18:16:38 +07:00
56f135faed
add pending-reviews script 2023-11-15 13:48:52 +01:00
81bc0d7ea4 devShell: use rm -f to clean up old pre-commit file 2023-09-19 13:20:12 +02:00
f63cfb4462 replace pre-commit hook with hook in pre-create 2023-09-13 15:53:36 +02:00
6d4d455626 devShell: add treefmt 2023-08-25 21:14:23 +02:00
a328d043d9 fix evaluation of devshell 2023-08-23 14:03:24 +02:00
3ea17e1566 devshell: fix linking pre-commit 2023-08-08 13:51:54 +02:00
4affdeed5e remove nodejs from top-lvl shell 2023-08-05 12:10:58 +00:00
c9b19b5060 init: ui bootstrapping nextjs 2023-08-05 11:42:48 +02:00
b8fd28af2f move flake-parts into pkgs or toplevel 2023-08-03 17:11:36 +02:00