neovim-flake/modules/utility/wakatime/vim-wakatime.nix

19 lines
460 B
Nix
Raw Normal View History

{
lib,
pkgs,
...
}: let
2024-03-24 01:14:39 +01:00
inherit (lib.options) mkEnableOption mkOption;
inherit (lib.types) nullOr package;
in {
2023-05-10 13:41:17 +02:00
options.vim.utility.vim-wakatime = {
enable = mkEnableOption "vim-wakatime: live code statistics";
cli-package = mkOption {
2024-03-24 01:14:39 +01:00
type = 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 13:41:17 +02:00
};
}