Link: https://github.com/nix-community/stylix/pull/1689
Reverts: c117edd7ee ("stylix: allow underscore in mkTarget configElements args (#1473)")
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
38 lines
842 B
Nix
38 lines
842 B
Nix
{ inputs, ... }:
|
|
{
|
|
imports = [
|
|
inputs.git-hooks.flakeModule
|
|
];
|
|
|
|
perSystem =
|
|
{ config, ... }:
|
|
{
|
|
pre-commit = {
|
|
check.enable = true;
|
|
|
|
settings.hooks = {
|
|
# keep-sorted start block=yes
|
|
deadnix = {
|
|
enable = true;
|
|
settings.noLambdaPatternNames = true;
|
|
};
|
|
editorconfig-checker.enable = true;
|
|
hlint.enable = true;
|
|
statix.enable = true;
|
|
treefmt = {
|
|
enable = true;
|
|
package = config.formatter;
|
|
};
|
|
typos = {
|
|
enable = true;
|
|
settings.configuration = ''
|
|
[default.extend-identifiers]
|
|
MrSom3body="MrSom3body"
|
|
'';
|
|
};
|
|
yamllint.enable = true;
|
|
# keep-sorted end
|
|
};
|
|
};
|
|
};
|
|
}
|