Don't want to list everything, a ton of stuff 🥁

This commit is contained in:
Andrea Ciceri 2023-03-19 01:12:10 +01:00
parent f05ee0a658
commit 86fc4d7f9f
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
17 changed files with 492 additions and 70 deletions

23
checks/default.nix Normal file
View file

@ -0,0 +1,23 @@
{
inputs,
self,
...
}: {
imports = [
inputs.treefmt-nix.flakeModule
inputs.pre-commit-hooks.flakeModule
];
perSystem = _: {
treefmt.config = {
projectRootFile = ".git/config";
programs.alejandra.enable = true;
};
pre-commit.settings.hooks = {
alejandra.enable = true;
# deadnix.enable = true;
# statix.enable = true;
};
};
}