nixvim/plugins: update plugins package convention

NixVim maintainers and their whiplash decisions. ;p
This commit is contained in:
Gabriel Arazas 2024-09-28 19:37:57 +08:00
parent eb5afdf115
commit 1cd163a397
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
5 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ in
options.plugins.dressing-nvim = {
enable = lib.mkEnableOption "dressing.nvim configuration";
package = helpers.mkPluginPackageOption "dressing.nvim" pkgs.vimPlugins.dressing-nvim;
package = lib.mkPackagePlugin pkgs "vimPlugins.dressing-nvim" { };
settings = lib.mkOption {
type = with lib.types; attrsOf anything;

View File

@ -9,7 +9,7 @@ in
options.plugins.legendary-nvim = {
enable = lib.mkEnableOption "legendary.nvim";
package = helpers.mkPluginPackageOption "legendary.nvim" pkgs.vimPlugins.legendary-nvim;
package = lib.mkPackageOption pkgs [ "vimPlugins" "legendary-nvim" ] { };
additionalSetup = mkEnableOption' "dependencies for additional features like frecency sorting";

View File

@ -63,7 +63,7 @@ in
options.colorschemes.lush = {
enable = lib.mkEnableOption "theming with lush.nvim";
package = helpers.mkPluginPackageOption "lush.nvim" pkgs.vimPlugins.lush-nvim;
package = lib.mkPackageOption pkgs [ "vimPlugins" "lush-nvim" ] { };
extraConfigLua = lib.mkOption {
type = lib.types.lines;

View File

@ -7,7 +7,7 @@ in
options.plugins.nvim-config-local = {
enable = lib.mkEnableOption "nvim-config-local";
package = helpers.mkPluginPackageOption "nvim-config-local" pkgs.vimPlugins.nvim-config-local;
package = lib.mkPackageOption pkgs [ "vimPlugins" "nvim-config-local" ] { };
settings = lib.mkOption {
type = lib.types.submodule {

View File

@ -7,7 +7,7 @@ in
options.plugins.nvim-remote-containers = {
enable = lib.mkEnableOption "nvim-remote-containers";
package = helpers.mkPluginPackageOption "nvim-remote-containers" pkgs.vimPlugins.nvim-remote-containers;
package = lib.mkPackageOption pkgs [ "vimPlugins" "nvim-remote-containers" ] { };
};
config = lib.mkIf cfg.enable {