build: add deadnix hook
This commit is contained in:
parent
9f906e0822
commit
c8ade99362
3 changed files with 6 additions and 4 deletions
|
@ -1,7 +1,5 @@
|
|||
{lib, ...}:
|
||||
with lib; let
|
||||
cfg = config.catppuccin;
|
||||
in {
|
||||
with lib; {
|
||||
imports = [
|
||||
./bat
|
||||
./btop
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
...
|
||||
}:
|
||||
with lib; let
|
||||
global = config.catppuccin;
|
||||
cfg = config.catppuccin.vscode;
|
||||
in {
|
||||
options.catppuccin = {
|
||||
|
|
|
@ -8,8 +8,13 @@ in {
|
|||
hooks = {
|
||||
alejandra.enable = true;
|
||||
editorconfig-checker.enable = true;
|
||||
deadnix.enable = true;
|
||||
shellcheck.enable = true;
|
||||
stylua.enable = true;
|
||||
};
|
||||
settings.deadnix = {
|
||||
noLambdaPatternNames = true;
|
||||
noLambdaArg = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue