Fix excludes
This commit is contained in:
parent
ffc6b25de7
commit
ff3ef64898
1 changed files with 8 additions and 6 deletions
14
flake.nix
14
flake.nix
|
@ -61,10 +61,6 @@
|
|||
perSystem =
|
||||
{ system, config, ... }:
|
||||
let
|
||||
excludes = [
|
||||
".vale/*"
|
||||
"home/vencord.nix"
|
||||
];
|
||||
deepMerge =
|
||||
lhs: rhs:
|
||||
lhs
|
||||
|
@ -209,13 +205,19 @@
|
|||
check-symlinks.enable = true;
|
||||
flake-checker.enable = true;
|
||||
};
|
||||
excludes = excludes;
|
||||
excludes = [
|
||||
".vale"
|
||||
"home/vencord.nix"
|
||||
];
|
||||
};
|
||||
# https://flake.parts/options/treefmt-nix.html
|
||||
treefmt = {
|
||||
projectRootFile = "flake.nix";
|
||||
programs = treefmtPrograms;
|
||||
settings.global.excludes = excludes;
|
||||
settings.global.excludes = [
|
||||
".vale/*"
|
||||
"home/vencord.nix"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue