mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
Rename directory flake to flake-parts
This commit is contained in:
parent
8cdb87769c
commit
121d7364f7
7 changed files with 6 additions and 6 deletions
17
flake-parts/formatter.nix
Normal file
17
flake-parts/formatter.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ inputs, ... }:
|
||||
{
|
||||
perSystem =
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
formatter =
|
||||
(inputs.treefmt.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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue