flake.nix: enble pre-commit

This commit is contained in:
notohh 2024-04-16 21:04:07 -04:00
parent 502c926f9f
commit c87357b2d0
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -51,7 +51,6 @@
imports = [ imports = [
inputs.pre-commit-hooks.flakeModule inputs.pre-commit-hooks.flakeModule
./hosts ./hosts
./hosts/deploy.nix
./home/profiles ./home/profiles
]; ];
systems = ["x86_64-linux"]; systems = ["x86_64-linux"];
@ -61,6 +60,7 @@
... ...
}: { }: {
pre-commit = { pre-commit = {
check.enable = true;
settings = { settings = {
excludes = ["flake.lock"]; excludes = ["flake.lock"];
hooks = { hooks = {