flake-modules: treefmt is formatter by default

Remove explicit `formatter = config.treefmt.build.wrapper`, because treefmt's `flakeFormatter` option (default `true`) handles that for us.
This commit is contained in:
Matt Sturgeon
2024-06-05 09:09:07 +01:00
parent ec78d2e1ab
commit 4d1d008e78
-2
View File
@@ -9,8 +9,6 @@
perSystem =
{ pkgs, config, ... }:
{
formatter = config.treefmt.build.wrapper;
treefmt.config = {
projectRootFile = "flake.nix";
package = pkgs.treefmt;