aboutsummaryrefslogtreecommitdiffhomepage
path: root/treefmt.nix
diff options
context:
space:
mode:
Diffstat (limited to 'treefmt.nix')
-rw-r--r--treefmt.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/treefmt.nix b/treefmt.nix
new file mode 100644
index 0000000..b32553e
--- /dev/null
+++ b/treefmt.nix
@@ -0,0 +1,7 @@
+{ pkgs, ... }:
+{
+ projectRootFile = "flake.nix";
+
+ programs.clang-format.enable = true;
+ programs.nixfmt.enable = true;
+}