maint: Set formatter Nix flake output so nix fmt works

I've idly thought about making the formatter a derivation that runs alejandra
over Nix code, then rustfmt over Rust code, etc--so that just running `nix
fmt` in the root cleans up everything--but I haven't made that work yet.
This commit is contained in:
Lucas Bergman 2024-02-19 17:50:39 -06:00
parent fe162968e5
commit 63b4f810c2

View File

@ -45,6 +45,7 @@
};
in {
packages.default = heracles;
formatter = pkgs.alejandra;
})
// {
nixosModule = {