I installed plocate
using configuration.nix
file:
environment = {
systemPackages = with pkgs; [
....
plocate
];
};
But I have tried to enable the associated systemd units in configuration.nix
but it fails:
$ cat configuration.nix
....
services = {
plocate.enable = true;
....
$ doas nixos-rebuild switch
error: The option `services.plocate' does not exist. Definition values:
- In `/etc/nixos/configuration.nix':
{
enable = true;
}
(use '--show-trace' to show detailed location information)
building Nix...