mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 22:11:33 +01:00
17 lines
441 B
Nix
17 lines
441 B
Nix
{ inputs, ... }:
|
|
{
|
|
perSystem =
|
|
{ pkgs, ... }:
|
|
{
|
|
formatter =
|
|
(inputs.treefmt-nix.lib.evalModule pkgs {
|
|
projectRootFile = "flake.nix";
|
|
programs = {
|
|
nixfmt.enable = true;
|
|
prettier.enable = true;
|
|
just.enable = true;
|
|
};
|
|
settings.formatter.nixfmt.excludes = [ "modules/home/programs/shell/aliases.nix" ];
|
|
}).config.build.wrapper;
|
|
};
|
|
}
|