2023-05-11 15:21:52 +02:00
|
|
|
{
|
|
|
|
pkgs,
|
2025-01-04 13:29:11 +01:00
|
|
|
lib,
|
2023-05-11 15:21:52 +02:00
|
|
|
...
|
2023-11-07 01:50:27 +01:00
|
|
|
}: let
|
2024-03-24 01:14:39 +01:00
|
|
|
inherit (lib.options) mkEnableOption mkOption;
|
|
|
|
inherit (lib.types) nullOr package;
|
2023-11-07 01:50:27 +01:00
|
|
|
in {
|
2023-05-10 13:41:17 +02:00
|
|
|
options.vim.utility.vim-wakatime = {
|
2025-01-04 13:29:11 +01:00
|
|
|
enable = mkEnableOption ''
|
|
|
|
automatic time tracking and metrics generated from your programming activity [vim-wakatime]
|
|
|
|
'';
|
2023-05-11 15:21:52 +02:00
|
|
|
|
|
|
|
cli-package = mkOption {
|
2024-03-24 01:14:39 +01:00
|
|
|
type = nullOr package;
|
2025-01-04 13:29:11 +01:00
|
|
|
default = pkgs.wakatime-cli;
|
|
|
|
example = null;
|
|
|
|
description = ''
|
|
|
|
The package that should be used for wakatime-cli.
|
|
|
|
Set as null to use the default path in {env}`$XDG_DATA_HOME`
|
|
|
|
'';
|
2023-05-11 15:21:52 +02:00
|
|
|
};
|
2023-05-10 13:41:17 +02:00
|
|
|
};
|
|
|
|
}
|