feat: add flake support

This commit is contained in:
Ruixi-rebirth 2025-02-24 23:30:14 +08:00
parent fb990c196d
commit c983ac8a44
No known key found for this signature in database
GPG key ID: 847E32F6F2F1D108
8 changed files with 362 additions and 7 deletions

8
treefmt.nix Normal file
View file

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