aboutsummaryrefslogtreecommitdiffhomepage
path: root/treefmt.nix
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-31 16:41:47 +0900
committernsfisis <nsfisis@gmail.com>2025-08-31 16:41:47 +0900
commit54699e921e23a684c711773b123c1bcfecd91ae0 (patch)
tree606ac78296ecc82b6ab215931951073c9188c1c3 /treefmt.nix
parentc84b5ccd48ca188f439cde3e5cdac95d26ed0be3 (diff)
downloadducc-54699e921e23a684c711773b123c1bcfecd91ae0.tar.gz
ducc-54699e921e23a684c711773b123c1bcfecd91ae0.tar.zst
ducc-54699e921e23a684c711773b123c1bcfecd91ae0.zip
feat: add Nix support
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;
+}