all repos — searchix @ bc1a7356d0afb63cd67f7c14c7e766354c7d7866

Search engine for NixOS, nix-darwin, home-manager and NUR users

build: narrow overly-broad linting exclusions I started this project using `niv`, which creates `nix/sources.nix`, which is all I really needed to exclude as it's generated by niv. Now there's generated code only in `nix/overlays`, so the rest of the files under `nix/` should be formatted by nixpkgs-fmt and analysed by statix and deadnix.

Alan Pearce
commit

bc1a7356d0afb63cd67f7c14c7e766354c7d7866

parent

b77a24f9f75378ffe97be83cf4dfd7f1683b9a7e

2 files changed, 4 insertions(+), 4 deletions(-)

jump to
M nix/modules/default.nixnix/modules/default.nix
@@ -199,7 +199,7 @@ };
users.users = optionalAttrs (cfg.user == "searchix") { searchix = { - group = cfg.group; + inherit (cfg) group; home = cfg.homeDir; isSystemUser = true; };
M nix/pre-commit-checks.nixnix/pre-commit-checks.nix
@@ -38,15 +38,15 @@ };
statix = { enable = true; - settings.ignore = [ "nix/*" ]; + settings.ignore = [ "nix/overlays/*" ]; }; deadnix = { enable = true; - excludes = [ "nix/.*" ]; + excludes = [ "nix/overlays/*" ]; }; nixpkgs-fmt = { enable = true; - excludes = [ "nix/.*" ]; + excludes = [ "nix/overlays/*" ]; }; convco.enable = true;