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.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nix/pre-commit-checks.nix b/nix/pre-commit-checks.nix
index 4858783..eb43a4e 100644
--- a/nix/pre-commit-checks.nix
+++ b/nix/pre-commit-checks.nix
@@ -96,7 +96,8 @@ rec {
       enable = true;
       name = "generate-default-config";
       description = "Ensure default configuration file is up-to-date";
-      files = "config.go$";
+      files = "^defaults.toml|internal/config/";
+      types_or = [ "go" "toml" ];
       entry =
         let
           script = pkgs.writeShellScript "generate-default-config" ''