diff --git a/.gitignore b/.gitignore index 1c85e47..c4f596c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .direnv .helix .vale/styles/config/vocabularies/General +.pre-commit-config.yaml diff --git a/flake.nix b/flake.nix index abe17c4..f32139e 100644 --- a/flake.nix +++ b/flake.nix @@ -170,6 +170,11 @@ ${pkgs.uutils-coreutils-noprefix}/bin/ln -fs ${helixLanguagesFile} ./.helix/languages.toml ''; }; + pre_commit = { + text = '' + ${config.pre-commit.installationScript} + ''; + }; }; }; };