flake: add treefmt

This commit is contained in:
Leonardo Eugênio 2025-01-24 08:24:42 -03:00
parent d3d5912537
commit 5de8f66088
3 changed files with 50 additions and 4 deletions

8
treefmt.nix Normal file
View file

@ -0,0 +1,8 @@
{ pkgs, ... }:
{
projectRootFile = "flake.nix";
programs.nixfmt.enable = true;
programs.nixfmt.package = pkgs.nixfmt-rfc-style;
settings.on-unmatched = "debug";
}