modules: remove usrEnv
This commit is contained in:
parent
e7904182e7
commit
07f42737d1
12 changed files with 51 additions and 244 deletions
|
@ -4,9 +4,11 @@
|
|||
pkgs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.modules.usrEnv.services.locate;
|
||||
inherit (lib) mkIf;
|
||||
cfg = config.modules.services.locate;
|
||||
inherit (lib.modules) mkIf;
|
||||
inherit (lib.options) mkEnableOption;
|
||||
in {
|
||||
options.modules.services.locate.enable = mkEnableOption "Locate service";
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs; [plocate];
|
||||
services.locate = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue