aboutsummaryrefslogtreecommitdiffhomepage
path: root/treefmt.nix
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-04-05 00:18:52 +0900
committernsfisis <nsfisis@gmail.com>2025-04-05 00:18:52 +0900
commitfea57b8e27a438fe8f2341b6cb21b73962b7504a (patch)
tree87879cc3901f7bd6218b04a0001e0aad8bfa153f /treefmt.nix
parent3a4e0333679ba6bc09e919eba0d15ca1cdb08461 (diff)
downloaddotfiles-fea57b8e27a438fe8f2341b6cb21b73962b7504a.tar.gz
dotfiles-fea57b8e27a438fe8f2341b6cb21b73962b7504a.tar.zst
dotfiles-fea57b8e27a438fe8f2341b6cb21b73962b7504a.zip
nix: introduce treefmt-nix "nix fmt"
Diffstat (limited to 'treefmt.nix')
-rw-r--r--treefmt.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/treefmt.nix b/treefmt.nix
new file mode 100644
index 0000000..972a362
--- /dev/null
+++ b/treefmt.nix
@@ -0,0 +1,5 @@
+{ pkgs, ... }:
+{
+ projectRootFile = "flake.nix";
+ programs.nixfmt.enable = true;
+}