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-04 01:02:47 +01:00
parent ec78d2e1ab
commit 4d1d008e78
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -9,8 +9,6 @@
perSystem =
{ pkgs, config, ... }:
{
formatter = config.treefmt.build.wrapper;
treefmt.config = {
projectRootFile = "flake.nix";
package = pkgs.treefmt;