nix: set formatter in flake for nix files

This allows contributors to format their nix changes with the `nix fmt`
command.
This commit is contained in:
Tom van Dijk 2025-07-28 12:58:49 +02:00
parent 61c10e2410
commit 7256189243
No known key found for this signature in database
GPG key ID: 7A984C8207ADBA51

View file

@ -34,6 +34,8 @@
inherit (pkgs) copyparty;
default = self.packages.${system}.copyparty;
};
formatter = pkgs.nixfmt-tree;
}
);
}