diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 4d3c449bd858959b3db736287527addc373fb1aa..8d2133d0937d94bc814bc1a5b9aac8b00b6d189b 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -19,7 +19,7 @@ repos:
   - id: toml-sort-fix
     exclude: poetry.lock
 - repo: https://github.com/pre-commit/mirrors-clang-format
-  rev: v18.1.7
+  rev: v18.1.8
   hooks:
   - id: clang-format
     args:
diff --git a/flake.nix b/flake.nix
index cd0c51352c7f633db9679552952379584347fb57..4d41dd5001ec70604cd1c94b2d5c3b1f25631bab 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,6 +1,11 @@
 {
   description = "Multi contact trajectory generation for the COM using Bezier curves";
 
+  nixConfig = {
+    extra-substituters = [ "https://gepetto.cachix.org" ];
+    extra-trusted-public-keys = [ "gepetto.cachix.org-1:toswMl31VewC0jGkN6+gOelO2Yom0SOHzPwJMY2XiDY=" ];
+  };
+
   inputs = {
     nixpkgs.url = "github:nim65s/nixpkgs/gepetto";
     flake-parts = {