summaryrefslogtreecommitdiffstats
path: root/treefmt.toml
diff options
context:
space:
mode:
authora-kenji <aks.kenji@protonmail.com>2022-03-10 16:27:39 +0100
committerGitHub <noreply@github.com>2022-03-10 16:27:39 +0100
commitbd849574bec51f03187522c6773e284e0f9a3d51 (patch)
tree1f5423b2c052f9ad60890a408c72b549d70a4c09 /treefmt.toml
parenta25fd88dbb2e35f823c9dea34bdbc82149f6bd70 (diff)
add(nix): treefmt / alejandra (#1201)
* add(nix): treefmt / alejandra * fmt the nix tree * add fmt check for nix to ci * switch `nixpkgs-fmt` -> `alejandra`
Diffstat (limited to 'treefmt.toml')
-rw-r--r--treefmt.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/treefmt.toml b/treefmt.toml
new file mode 100644
index 000000000..fe5d1f37e
--- /dev/null
+++ b/treefmt.toml
@@ -0,0 +1,3 @@
+[formatter.nix]
+command = "alejandra"
+includes = ["*.nix"]