rebuild not working
This commit is contained in:
parent
46d79f6f18
commit
f514c9b1b4
13 changed files with 280 additions and 12 deletions
19
modules/services/locate.nix
Normal file
19
modules/services/locate.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.modules.usrEnv.services.locate;
|
||||
inherit (lib) mkIf;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [plocate];
|
||||
services.locate = {
|
||||
enable = true;
|
||||
interval = "hourly";
|
||||
package = pkgs.plocate;
|
||||
localuser = null;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue