From 8bb270de6835a00ac3413988c3955c19cfa0d97e Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 15 Aug 2026 09:55:20 +0900 Subject: build(nix): add a Nix flake providing the dev shell and formatters Co-Authored-By: Claude Opus 5 --- treefmt.nix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 treefmt.nix (limited to 'treefmt.nix') diff --git a/treefmt.nix b/treefmt.nix new file mode 100644 index 00000000..b5a4ab9b --- /dev/null +++ b/treefmt.nix @@ -0,0 +1,8 @@ +{ ... }: +{ + projectRootFile = "flake.nix"; + + programs.nixfmt.enable = true; + programs.rustfmt.enable = true; + # TODO: add php formatter +} -- cgit v1.3.1-4-g156e