diff --git a/modules/core/build/config.nix b/modules/core/build/config.nix index 8666784..c5dc826 100644 --- a/modules/core/build/config.nix +++ b/modules/core/build/config.nix @@ -4,7 +4,7 @@ ... }: let inherit (builtins) map mapAttrs toJSON filter; - inherit (lib.options) mkOption; + inherit (lib.options) mkOption mkEnableOption; inherit (lib.attrsets) filterAttrs getAttrs attrValues attrNames; inherit (lib.strings) optionalString isString concatStringsSep; inherit (lib.misc) mapAttrsFlatten; @@ -181,7 +181,7 @@ in { ''; }; - enableLuaLoader = lib.options.mkEnableOption '' + enableLuaLoader = mkEnableOption '' experimental Lua module loader to speed up the start up process ''; }; diff --git a/modules/plugins/utility/telescope/config.nix b/modules/plugins/utility/telescope/config.nix index 73bf759..0ed553a 100644 --- a/modules/plugins/utility/telescope/config.nix +++ b/modules/plugins/utility/telescope/config.nix @@ -1,6 +1,6 @@ { - pkgs, config, + pkgs, lib, ... }: let @@ -19,6 +19,7 @@ in { config = mkIf (cfg.enable) { vim.startPlugins = [ "telescope" + "plenary-nvim" ]; vim.maps.normal = mkMerge [