Don't want to list everything, a ton of stuff 🥁
This commit is contained in:
parent
f05ee0a658
commit
86fc4d7f9f
17 changed files with 492 additions and 70 deletions
23
checks/default.nix
Normal file
23
checks/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue