about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--nix/modules/default.nix2
-rw-r--r--nix/pre-commit-checks.nix6
2 files changed, 4 insertions, 4 deletions
diff --git a/nix/modules/default.nix b/nix/modules/default.nix
index cd17ca3..8c8499a 100644
--- a/nix/modules/default.nix
+++ b/nix/modules/default.nix
@@ -199,7 +199,7 @@ in
 
     users.users = optionalAttrs (cfg.user == "searchix") {
       searchix = {
-        group = cfg.group;
+        inherit (cfg) group;
         home = cfg.homeDir;
         isSystemUser = true;
       };
diff --git a/nix/pre-commit-checks.nix b/nix/pre-commit-checks.nix
index eb43a4e..e3b651e 100644
--- a/nix/pre-commit-checks.nix
+++ b/nix/pre-commit-checks.nix
@@ -38,15 +38,15 @@ rec {
 
     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;