diff --git a/flake.nix b/flake.nix index 05b9099..ab2dcba 100644 --- a/flake.nix +++ b/flake.nix @@ -211,7 +211,6 @@ inputs', pkgs, config, - lib, ... }: { @@ -219,7 +218,10 @@ pre-commit = { settings = { hooks = { - nixfmt.enable = true; + nixfmt = { + enable = true; + package = pkgs.nixfmt-rfc-style; + }; deadnix.enable = true; black.enable = true; shellcheck = { @@ -228,9 +230,6 @@ }; shfmt.enable = true; }; - tools = { - nixfmt = lib.mkForce pkgs.nixfmt-rfc-style; - }; }; };