common/locate: init

This commit is contained in:
Oystein Kristoffer Tveit 2025-03-14 22:47:15 +01:00
parent 6633ff106c
commit c885d4f515
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
2 changed files with 18 additions and 0 deletions
hosts/common

@ -19,6 +19,7 @@ in {
./services/irqbalance.nix
./services/journald.nix
./services/libinput.nix
./services/locate.nix
./services/logind.nix
./services/openssh.nix
./services/pcscd.nix

@ -0,0 +1,17 @@
{ pkgs, ... }:
{
services.locate = {
enable = true;
package = pkgs.plocate;
pruneNames = [
".bzr"
".cache"
".git"
".hg"
".svn"
".direnv"
"target"
];
};
}