aboutsummaryrefslogtreecommitdiff
path: root/treefmt.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-12-14 10:50:12 -0800
committerFranck Cuny <franck@fcuny.net>2025-12-14 10:50:12 -0800
commitb61ab3036ce5cb38128d855592490e6330552624 (patch)
treef6058a6a3ba9a5fe3e68fdfd3c95168a80b5de2d /treefmt.nix
parentfix 'nix flake check' (diff)
downloadinfra-b61ab3036ce5cb38128d855592490e6330552624.tar.gz
remove duplicated configuration for treefmt/pre-commit
Diffstat (limited to 'treefmt.nix')
-rw-r--r--treefmt.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/treefmt.nix b/treefmt.nix
new file mode 100644
index 0000000..d1863ba
--- /dev/null
+++ b/treefmt.nix
@@ -0,0 +1,6 @@
+{ ... }:
+{
+ projectRootFile = "flake.nix";
+ programs.nixfmt.enable = true;
+ programs.deadnix.enable = true;
+}