aboutsummaryrefslogtreecommitdiff
path: root/treefmt.toml
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2024-07-06 07:04:23 +0200
committerMiran Bastaja <miran.bastaja04@gmail.com>2024-07-06 07:04:23 +0200
commit86f09b226b15cb195fd5bef3b7671244d93eb921 (patch)
tree868ce4621acb65d1d5f30a8e00d96310360068c4 /treefmt.toml
parentc97a1d66084aaf50ca816d9c482f296d31346f9f (diff)
Set up treefmt
Diffstat (limited to 'treefmt.toml')
-rw-r--r--treefmt.toml6
1 files changed, 6 insertions, 0 deletions
diff --git a/treefmt.toml b/treefmt.toml
new file mode 100644
index 0000000..13bf952
--- /dev/null
+++ b/treefmt.toml
@@ -0,0 +1,6 @@
+[global]
+excludes = ["secrets/*", ".*ignore", ".git*", "*.lock"]
+
+[formatter.nix]
+command = "nixfmt"
+includes = [ "*.nix" ]