about summary refs log tree commit diff stats
path: root/nix/modules
diff options
context:
space:
mode:
authorAlan Pearce2024-05-21 13:41:53 +0200
committerAlan Pearce2024-05-21 13:41:53 +0200
commitbc1a7356d0afb63cd67f7c14c7e766354c7d7866 (patch)
treee075d62374744cf923df7f0c8cd1808891994ee7 /nix/modules
parentb77a24f9f75378ffe97be83cf4dfd7f1683b9a7e (diff)
downloadsearchix-bc1a7356d0afb63cd67f7c14c7e766354c7d7866.tar.lz
searchix-bc1a7356d0afb63cd67f7c14c7e766354c7d7866.tar.zst
searchix-bc1a7356d0afb63cd67f7c14c7e766354c7d7866.zip
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.
Diffstat (limited to 'nix/modules')
-rw-r--r--nix/modules/default.nix2
1 files changed, 1 insertions, 1 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;
       };