feat: add flake support

This commit is contained in:
Ruixi-rebirth 2025-02-24 19:45:27 +08:00
parent 9b4d8d88b7
commit c86bd18c92
No known key found for this signature in database
GPG key ID: 847E32F6F2F1D108
9 changed files with 332 additions and 45 deletions

8
treefmt.nix Normal file
View file

@ -0,0 +1,8 @@
{ ... }:
{
projectRootFile = "flake.nix";
programs = {
nixfmt.enable = true;
};
}