From 7256189243f21f1fa6c825e3fc3bc2fa0989737d Mon Sep 17 00:00:00 2001 From: Tom van Dijk <18gatenmaker6@gmail.com> Date: Mon, 28 Jul 2025 12:58:49 +0200 Subject: [PATCH] nix: set formatter in flake for nix files This allows contributors to format their nix changes with the `nix fmt` command. --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index 067c6f99..e53e77c5 100644 --- a/flake.nix +++ b/flake.nix @@ -34,6 +34,8 @@ inherit (pkgs) copyparty; default = self.packages.${system}.copyparty; }; + + formatter = pkgs.nixfmt-tree; } ); }