🎨 move to nixfmt-rfc-style

This commit is contained in:
2024-12-07 20:46:15 -05:00
parent 9ea7912596
commit a53ad5a5ae
36 changed files with 412 additions and 193 deletions

View File

@ -1,11 +1,18 @@
{ self, system, deploy-rs, pre-commit-hooks, ... }:
{
self,
system,
deploy-rs,
pre-commit-hooks,
...
}:
{
pre-commit-check = pre-commit-hooks.lib.${system}.run {
src = ./.;
hooks = {
deadnix.enable = true;
nixpkgs-fmt.enable = true;
nixfmt-rfc-style.enable = true;
statix.enable = true;
};
};
} // (deploy-rs.lib.${system}.deployChecks self.deploy)
}
// (deploy-rs.lib.${system}.deployChecks self.deploy)