nixos-configs/common/modules/programs.nix

23 lines
372 B
Nix
Raw Normal View History

2023-10-15 16:05:28 -04:00
{ pkgs, ... }: {
services = {
locate = {
enable = true;
package = pkgs.mlocate;
localuser = null;
interval = "hourly";
prunePaths = [
"/tmp"
"/var/tmp"
"/var/cache"
"/var/lock"
"/var/run"
"/var/spool"
"/nix/var/log/nix"
"/proc"
"/run/user"
];
};
};
}