From aee2bbb5385234790904a1fd9a95424de06d1391 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Sat, 4 Nov 2023 14:27:53 -0400 Subject: [PATCH 1/2] pre-commit: Add commitizen hook --- nix/pre-commit.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nix/pre-commit.nix b/nix/pre-commit.nix index 0543be2..0dd98c2 100644 --- a/nix/pre-commit.nix +++ b/nix/pre-commit.nix @@ -14,6 +14,7 @@ # FIXME: Disabled due to purity issues # nix-flake-lock.enable = true; statix.enable = lib.mkDefault true; + commitizen.enable = true; # Custom hooks trailing-ws = { From d16da72232ae4bbdd985b5cd536b2f667757c391 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Sat, 4 Nov 2023 14:28:49 -0400 Subject: [PATCH 2/2] fix(process-compose): Allow non-usage --- flake-module.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake-module.nix b/flake-module.nix index eff6b29..0510f56 100644 --- a/flake-module.nix +++ b/flake-module.nix @@ -30,5 +30,7 @@ common: }) ]; }; + + process-compose = lib.mkDefault {}; }; }