feat: provide wakatime-cli package option

This commit is contained in:
NotAShelf 2023-05-11 16:21:52 +03:00
commit 50c2e91626
No known key found for this signature in database
GPG key ID: 05A3BD53FEB32B81
2 changed files with 19 additions and 1 deletions

View file

@ -1,7 +1,17 @@
{lib, ...}:
{
lib,
pkgs,
...
}:
with lib;
with builtins; {
options.vim.utility.vim-wakatime = {
enable = mkEnableOption "Enable vim-wakatime";
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`";
};
};
}