Files
nix-config/default.nix
Dave Gallant 040581e146 nixfmt .
2024-09-17 23:49:08 -04:00

15 lines
282 B
Nix

let
nix-pre-commit-hooks = import (
builtins.fetchTarball "https://github.com/cachix/git-hooks.nix/tarball/master"
);
in
{
pre-commit-check = nix-pre-commit-hooks.run {
src = ./.;
hooks = {
shellcheck.enable = true;
nixfmt.enable = true;
};
};
}