aboutsummaryrefslogtreecommitdiff
path: root/treefmt.toml
diff options
context:
space:
mode:
Diffstat (limited to 'treefmt.toml')
-rw-r--r--treefmt.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/treefmt.toml b/treefmt.toml
index 81df72cc2..0d8323d6e 100644
--- a/treefmt.toml
+++ b/treefmt.toml
@@ -1 +1,4 @@
-[formatter]
+[formatter.nix]
+command = "nixfmt"
+includes = ["*.nix"]
+excludes = ["tests/**"]