Compare commits

...

3 Commits

Author SHA1 Message Date
da35c395b4 docs(nix): require natu checks 2026-09-26 22:35:43 -04:00
88da3220b5 docs(agents): require natu checks for Nix changes 2026-09-26 22:34:45 -04:00
e51b06ecf6 feat(nvim): enable nixd 2026-09-26 22:34:09 -04:00
2 changed files with 8 additions and 2 deletions

View File

@@ -32,6 +32,7 @@ in
ripgrep # backs the picker's live grep
fd # backs the picker's file finder
wl-clipboard # provides a non-blocking clipboard provider on Wayland
nixd # provides Nix language-server support
];
globals.mapleader = " ";
@@ -189,6 +190,8 @@ in
installRustc = false;
installRustfmt = false;
};
servers.nixd.enable = true;
};
gitsigns = {

View File

@@ -12,7 +12,10 @@ After editing Nix files, run:
```bash
nix run .#fix
bazel run //src/natu:natu -- <modified-nix-paths>
```
Finish when `nix run .#fix` succeeds and the Nix change follows the loaded rules.
If the command fails, report the failure.
Pass every modified Nix path to Natu.
Finish when both commands succeed and the Nix change follows the loaded rules.
If a command fails, report the failure.