about summary refs log tree commit diff stats
path: root/nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix')
-rw-r--r--nix/pre-commit-checks.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/nix/pre-commit-checks.nix b/nix/pre-commit-checks.nix
index e3b651e..a1612ef 100644
--- a/nix/pre-commit-checks.nix
+++ b/nix/pre-commit-checks.nix
@@ -38,15 +38,17 @@ rec {
 
     statix = {
       enable = true;
+      # ignore is a glob
       settings.ignore = [ "nix/overlays/*" ];
     };
     deadnix = {
       enable = true;
-      excludes = [ "nix/overlays/*" ];
+      # excludes is a regex
+      excludes = [ "nix/overlays/.*" ];
     };
     nixpkgs-fmt = {
       enable = true;
-      excludes = [ "nix/overlays/*" ];
+      excludes = [ "nix/overlays/.*" ];
     };
 
     convco.enable = true;