summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJakub Stachurski <j.stachurski@student.utwente.nl>2025-12-22 22:57:24 +0100
committerJakub Stachurski <j.stachurski@student.utwente.nl>2025-12-22 22:57:24 +0100
commitee7b1d28e41a5ef25686ae1efc58b862e282813a (patch)
treeab3c5e18d68d8aa3e5122f8a1ceadef308e0f16a /modules
parent725f0caeb0051bb8b2eaf20cd51ef1297dcfe122 (diff)
Enable formatting using treefmt
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;
+}