summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/treefmt.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/treefmt.nix b/modules/treefmt.nix
new file mode 100644
index 0000000..ab36cdb
--- /dev/null
+++ b/modules/treefmt.nix
@@ -0,0 +1,6 @@
+{pkgs, ...}: {
+ # Used to find the project root
+ projectRootFile = "flake.nix";
+ programs.nixfmt.enable = true;
+ programs.deadnix.enable = true;
+}