flake/dev/pre-commit: simplify typos extend-idenitifers interface

Link: https://github.com/nix-community/stylix/pull/2159
Link: https://github.com/nix-community/stylix/pull/2180

Reviewed-by: Daniel Thwaites <danth@danth.me>
This commit is contained in:
NAHO 2026-01-29 15:41:39 +01:00
parent 9b4a5eb409
commit 9863e1770d
No known key found for this signature in database
GPG key ID: BFB5D5E3F4C95185

View file

@ -3,7 +3,7 @@
imports = [ inputs.git-hooks.flakeModule ];
perSystem =
{ config, ... }:
{ config, lib, ... }:
{
ci.buildbot = { inherit (config.checks) pre-commit; };
@ -37,7 +37,9 @@
};
typos = {
enable = true;
settings.config.default.extend-identifiers.MrSom3body = "MrSom3body";
settings.config.default.extend-identifiers = lib.genAttrs [
"MrSom3body"
] lib.id;
};
yamllint.enable = true;
# keep-sorted end