This commit is contained in:
SebastianStork 2025-03-11 00:38:47 +01:00
commit b2aca0a845
11 changed files with 327 additions and 0 deletions

16
flake/formatter.nix Normal file
View file

@ -0,0 +1,16 @@
{ inputs, ... }:
{
perSystem =
{ pkgs, ... }:
{
formatter =
(inputs.treefmt-nix.lib.evalModule pkgs {
projectRootFile = "flake.nix";
programs = {
nixfmt.enable = true;
prettier.enable = true;
just.enable = true;
};
}).config.build.wrapper;
};
}