aboutsummaryrefslogtreecommitdiff
path: root/treefmt.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-09-06 15:26:03 -0700
committerFranck Cuny <franck@fcuny.net>2025-09-06 15:26:03 -0700
commit25fa2237ba8a96a86bf5db30baa597a5b25168d7 (patch)
treed1c6fe71973d532bed4d05b29f995abcc3d4623d /treefmt.nix
parentconvert index from markdown to org (diff)
downloadfcuny.net-25fa2237ba8a96a86bf5db30baa597a5b25168d7.tar.gz
generate the site and the resume using pandoc
Diffstat (limited to '')
-rw-r--r--treefmt.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/treefmt.nix b/treefmt.nix
new file mode 100644
index 0000000..cd28b86
--- /dev/null
+++ b/treefmt.nix
@@ -0,0 +1,21 @@
+{
+ projectRootFile = "flake.nix";
+ programs = {
+ nixfmt.enable = true;
+ statix.enable = true;
+ actionlint.enable = true;
+ deadnix.enable = true;
+ prettier.enable = true;
+ typos.enable = true;
+ };
+ settings = {
+ formatter = {
+ nixfmt.includes = [
+ "*.nix"
+ ];
+ statix.includes = [
+ "*.nix"
+ ];
+ };
+ };
+}