chore(fmt): wire nix fmt to treefmt

Use treefmt-nix with nixfmt, statix, and deadnix so nix fmt applies formatting and auto-fixes in one pass.
This commit is contained in:
anntnzrb
2026-02-04 23:30:58 -05:00
committed by mjallen18
parent 9b9398b53f
commit 797700f47a
2 changed files with 50 additions and 7 deletions

24
flake.lock generated
View File

@@ -56,7 +56,8 @@
"root": {
"inputs": {
"flake-utils-plus": "flake-utils-plus",
"nixpkgs": "nixpkgs"
"nixpkgs": "nixpkgs",
"treefmt-nix": "treefmt-nix"
}
},
"systems": {
@@ -73,6 +74,27 @@
"repo": "default",
"type": "github"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1770228511,
"narHash": "sha256-wQ6NJSuFqAEmIg2VMnLdCnUc0b7vslUohqqGGD+Fyxk=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "337a4fe074be1042a35086f15481d763b8ddc0e7",
"type": "github"
},
"original": {
"owner": "numtide",
"ref": "main",
"repo": "treefmt-nix",
"type": "github"
}
}
},
"root": "root",