From 1549f7637bf0753fcbba93336b44e5ddd469e92b Mon Sep 17 00:00:00 2001 From: eric Date: Wed, 4 Mar 2026 05:09:38 +0100 Subject: [PATCH] feat: move tests to template --- template/flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/template/flake.nix b/template/flake.nix index 8730a26..5d94656 100644 --- a/template/flake.nix +++ b/template/flake.nix @@ -54,6 +54,12 @@ }; additionalHooks = { + tests = { + enable = true; + entry = "echo 'No tests defined yet.'"; # replace with your test command + pass_filenames = false; + stages = [ "pre-push" ]; + }; # my-hook = { # enable = true; # entry = "${pkgs.some-tool}/bin/some-tool";