Running plocate service on WSL-2 Nix #540
Unanswered
mwoodpatrick
asked this question in
Q&A
Replies: 1 comment
-
I used something like in the past: services.locate = {
enable = true;
localuser = null; # silence warning
package = pkgs.plocate; # use faster locate implementation
prunePaths = [
"/media"
"/mnt/c" # don't index windows drives in WSL
"/mnt/d"
"/mnt/e"
"/mnt/f"
"/mnt/wsl"
"/nix/store"
"/nix/var/log/nix"
"/tmp"
"/var/spool"
"/var/tmp"
];
}; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Does anyone know how to run the plocate service on WSL-2 Nix. I read a number of threads (listed below) but was still unclear on how to achieve this
NixOS/nixpkgs#156185
NixOS/nixpkgs#124260
https://discourse.nixos.org/t/plocate-unusable/34257
Beta Was this translation helpful? Give feedback.
All reactions