neovim-flake/modules/plugins/utility/wakatime/vim-wakatime.nix
2024-01-16 15:15:40 +03:00

17 lines
432 B
Nix

{
lib,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkOption types;
in {
options.vim.utility.vim-wakatime = {
enable = mkEnableOption "vim-wakatime: live code statistics";
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`";
};
};
}