diff options
-rw-r--r-- | hel.nix | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 | }; |