summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hel.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/hel.nix b/hel.nix
index f1618d72..35033515 100644
--- a/hel.nix
+++ b/hel.nix
@@ -284,7 +284,9 @@
284 locate = { 284 locate = {
285 enable = true; 285 enable = true;
286 interval = "daily"; 286 interval = "daily";
287 locate = pkgs.mlocate; 287 locate = pkgs.stdenv.lib.overrideDerivation pkgs.mlocate (oldAttrs: rec {
288 makeFlags = [ "dbfile=${config.locate.output}" ];
289 });
288 localuser = null; 290 localuser = null;
289 prunePaths = ["/tmp" "/var/tmp" "/var/cache" "/var/lock" "/var/run" "/var/spool"]; 291 prunePaths = ["/tmp" "/var/tmp" "/var/cache" "/var/lock" "/var/run" "/var/spool"];
290 }; 292 };