diff --git a/hosts/common/default.nix b/hosts/common/default.nix index 55c0c53..78e2539 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -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 diff --git a/hosts/common/services/locate.nix b/hosts/common/services/locate.nix new file mode 100644 index 0000000..bfcce5c --- /dev/null +++ b/hosts/common/services/locate.nix @@ -0,0 +1,17 @@ +{ pkgs, ... }: +{ + services.locate = { + enable = true; + package = pkgs.plocate; + pruneNames = [ + ".bzr" + ".cache" + ".git" + ".hg" + ".svn" + + ".direnv" + "target" + ]; + }; +}