chore(flake): switch to new nixfmt-rfc-style option in pre-commit hooks

This commit is contained in:
Felix Schröter 2024-10-25 11:50:27 +02:00
parent 6a0f0bf76e
commit 83d8be3bf9
Signed by: felschr
GPG key ID: 671E39E6744C807D
3 changed files with 37 additions and 2 deletions

View file

@ -140,8 +140,7 @@ rec {
pre-commit = inputs.pre-commit-hooks.lib.${system}.run {
src = ./.;
hooks = {
nixfmt.enable = true;
nixfmt.package = pkgs.nixfmt-rfc-style;
nixfmt-rfc-style.enable = true;
shellcheck.enable = true;
};
};