This commit is contained in:
2026-02-03 14:59:16 +04:00
commit a89275f163
7 changed files with 353 additions and 0 deletions

14
treefmt.nix Normal file
View File

@@ -0,0 +1,14 @@
{ rust-toolchain }:
{ pkgs, ... }:
{
# Used to find the project root
projectRootFile = "flake.nix";
# Enable the terraform formatter
programs = {
nixfmt.enable = true;
rustfmt.enable = true;
rustfmt.package = rust-toolchain pkgs;
leptosfmt.enable = true;
taplo.enable = true;
};
}