build: add deadnix hook

This commit is contained in:
winston 2023-02-10 09:36:53 +01:00
parent 9f906e0822
commit c8ade99362
Signed by: winston
GPG key ID: 3786770EDBC2B481
3 changed files with 6 additions and 4 deletions

View file

@ -1,7 +1,5 @@
{lib, ...}: {lib, ...}:
with lib; let with lib; {
cfg = config.catppuccin;
in {
imports = [ imports = [
./bat ./bat
./btop ./btop

View file

@ -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 = {

View file

@ -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;
};
}; };
} }