meta: Replace treefmt with flake formatter output

This makes the code base more portable by *only* depending on Nix as a
dependency.

Note that the code base hasn't been migrated to nixfmt-rfc-style yet.
This commit is contained in:
Donovan Glover 2024-04-01 09:52:02 -04:00
parent ba6806a37a
commit dd171006b2
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 2 additions and 9 deletions

View File

@ -46,6 +46,8 @@
]; ];
}; };
}; };
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;
} // } //
(builtins.listToAttrs (builtins.listToAttrs
(builtins.map (builtins.map

View File

@ -1,9 +0,0 @@
[formatter.deno]
command = "deno"
options = ["fmt"]
includes = [ "*.ts" ]
[formatter.nix]
command = "nixpkgs-fmt"
includes = [ "*.nix" ]
excludes = [ "./hardware/*" ]