9 inherit (lib) mkEnableOption mkIf mkPackageOption;
10 cfg = config.services.eg25-manager;
13 options.services.eg25-manager = {
14 enable = mkEnableOption "Quectel EG25 modem manager service";
16 package = mkPackageOption pkgs "eg25-manager" { };
18 config = mkIf cfg.enable {
19 systemd.packages = [ cfg.package ];
20 services.udev.packages = [ cfg.package ];
21 systemd.services.eg25-manager.wantedBy = [ "multi-user.target" ];
25 maintainers = with lib.maintainers; [ Luflosi ];