2023-05-11 13:21:52 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
2023-11-07 00:50:27 +00:00
|
|
|
}: let
|
|
|
|
inherit (lib) mkEnableOption mkOption types;
|
|
|
|
in {
|
2023-05-10 11:41:17 +00:00
|
|
|
options.vim.utility.vim-wakatime = {
|
2023-06-05 20:10:25 +00:00
|
|
|
enable = mkEnableOption "vim-wakatime: live code statistics";
|
2023-05-11 13:21:52 +00:00
|
|
|
|
|
|
|
cli-package = mkOption {
|
|
|
|
type = with types; nullOr package;
|
|
|
|
default = pkgs.wakatime;
|
|
|
|
description = "The package that should be used for wakatime-cli. Set as null to use the default path in `$XDG_DATA_HOME`";
|
|
|
|
};
|
2023-05-10 11:41:17 +00:00
|
|
|
};
|
|
|
|
}
|