This commit is contained in:
Nickolaj Jepsen 2025-02-20 22:50:06 +01:00
parent 2b7b63a18c
commit 638ef7093e
140 changed files with 307 additions and 121 deletions

18
formatter.nix Normal file
View file

@ -0,0 +1,18 @@
{inputs, ...}: {
imports = [inputs.treefmt-nix.flakeModule];
perSystem = {config, ...}: {
treefmt = {
projectRootFile = "flake.nix";
programs = {
deadnix.enable = true;
alejandra.enable = true;
statix.enable = true;
just.enable = true;
prettier.enable = true;
};
settings.global.excludes = ["*.{gitignore,svg}"];
};
formatter = config.treefmt.build.wrapper;
};
}