Add treefmt configuration

This commit is contained in:
Fabian Hauser 2025-03-25 13:56:52 +02:00
parent ff0ce9d94c
commit b2395ce611
5 changed files with 158 additions and 31 deletions

View file

@ -1,14 +1,15 @@
{
self,
flakeSelf,
system,
pkgs,
deployPkgs,
treefmtEval,
...
}@inputs:
{
${system} = {
# TODO: Check project formatting
formatting = treefmtEval.config.build.check flakeSelf;
nixos-modules = pkgs.callPackage ./nixos-modules {
inherit (self.lib) getSubDirs isFolderWithFile;