Repository navigation
Commit d6f6ad0
committed
chore(nix): migrate hooks to git-hooks.nix
Replace the lefthook configuration with git-hooks.nix using prek as the runner so hook installation and tool resolution come from the Nix dev shell instead of ad hoc shell setup.
Split the flake into flake-parts modules under nix/, add treefmt-nix formatting checks, and keep the package derivation in root package.nix/default.nix so package construction is separate from flake outputs.
Move hook-only checks for config schema and skill syncing into Nix-generated scripts. These checks report stale generated files instead of staging fixes automatically, and the Claude skill symlinks are synced to match .agents/skills.1 parent 3e91226 commit d6f6ad0
17 files changed
Lines changed: 845 additions & 294 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments