From 12054828f9a919e756aa8559dd755d7fc0381b88 Mon Sep 17 00:00:00 2001
From: Ingolf Wagner <contact@ingolf-wagner.de>
Date: Fri, 28 Feb 2025 05:39:33 +0700
Subject: [PATCH] :wrench: configure nix fmt

---
 nix/formatter.nix | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/nix/formatter.nix b/nix/formatter.nix
index ce6013f..b01bcca 100644
--- a/nix/formatter.nix
+++ b/nix/formatter.nix
@@ -13,6 +13,21 @@
       programs.deno.enable = true;
       programs.yamlfmt.enable = true;
       programs.black.enable = true;
+      programs.beautysh.enable = true;
+      programs.taplo.enable = true;
+      programs.clang-format.enable = true;
+      settings.global.excludes = [
+        "machines/*/facts/*"
+        "old-machines/*/facts/*"
+        "vars/*"
+        "*.gpg"
+        "*.pub"
+        ".git-crypt/*"
+        "*.png"
+        "LICENSE"
+        "*.gitignore"
+        ".gitattributes"
+      ];
     };
   };
 }