nixos-configs/common/modules/programs.nix

22 lines
372 B
Nix

{ 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"
];
};
};
}