From 0f1d7f85bf450f98e4bf1caac0f7007acbe2d0ee Mon Sep 17 00:00:00 2001 From: Sander Date: Mon, 15 Sep 2025 17:50:53 +0200 Subject: [PATCH] modules/pre-commit: use lazy attrs for the hooks --- modules/pre-commit.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pre-commit.nix b/modules/pre-commit.nix index 6be531ea..d6b0ef8f 100644 --- a/modules/pre-commit.nix +++ b/modules/pre-commit.nix @@ -224,7 +224,7 @@ in hooks = mkOption { type = types.submodule { - freeformType = types.attrsOf hookType; + freeformType = types.lazyAttrsOf hookType; }; description = ''