diff --git a/devshell.nix b/devshell.nix
index 139bb20..f9bd67a 100644
--- a/devshell.nix
+++ b/devshell.nix
@@ -51,6 +51,6 @@
   ];
 
   git.hooks = {
-    pre-push.text = "nix flake check";
+    pre-commit.text = "nix flake check";
   };
 })