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, ...}:
|
{lib, ...}:
|
||||||
with lib; let
|
with lib; {
|
||||||
cfg = config.catppuccin;
|
|
||||||
in {
|
|
||||||
imports = [
|
imports = [
|
||||||
./bat
|
./bat
|
||||||
./btop
|
./btop
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib; let
|
with lib; let
|
||||||
global = config.catppuccin;
|
|
||||||
cfg = config.catppuccin.vscode;
|
cfg = config.catppuccin.vscode;
|
||||||
in {
|
in {
|
||||||
options.catppuccin = {
|
options.catppuccin = {
|
||||||
|
|
|
@ -8,8 +8,13 @@ in {
|
||||||
hooks = {
|
hooks = {
|
||||||
alejandra.enable = true;
|
alejandra.enable = true;
|
||||||
editorconfig-checker.enable = true;
|
editorconfig-checker.enable = true;
|
||||||
|
deadnix.enable = true;
|
||||||
shellcheck.enable = true;
|
shellcheck.enable = true;
|
||||||
stylua.enable = true;
|
stylua.enable = true;
|
||||||
};
|
};
|
||||||
|
settings.deadnix = {
|
||||||
|
noLambdaPatternNames = true;
|
||||||
|
noLambdaArg = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue