Link: https://github.com/danth/stylix/pull/1208 Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk> Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
35 lines
697 B
Nix
35 lines
697 B
Nix
{ inputs, ... }:
|
|
{
|
|
imports = [
|
|
inputs.git-hooks.flakeModule
|
|
];
|
|
|
|
perSystem =
|
|
{ config, ... }:
|
|
{
|
|
pre-commit = {
|
|
check.enable = true;
|
|
|
|
settings.hooks = {
|
|
deadnix.enable = true;
|
|
editorconfig-checker.enable = true;
|
|
hlint.enable = true;
|
|
|
|
treefmt = {
|
|
enable = true;
|
|
package = config.formatter;
|
|
};
|
|
|
|
statix.enable = true;
|
|
typos = {
|
|
enable = true;
|
|
settings.configuration = ''
|
|
[default.extend-identifiers]
|
|
MrSom3body="MrSom3body"
|
|
'';
|
|
};
|
|
yamllint.enable = true;
|
|
};
|
|
};
|
|
};
|
|
}
|