flake: add treefmt for formatting

This commit is contained in:
Veneficium 2024-12-29 23:12:17 +01:00
parent d4c3cf917d
commit 4730e07206
3 changed files with 45 additions and 39 deletions

6
treefmt.nix Normal file
View file

@ -0,0 +1,6 @@
{ ... }:
{
projectRootFile = "flake.nix";
programs.nixfmt.enable = true;
}