mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
nixvim/plugins: update plugins package
convention
NixVim maintainers and their whiplash decisions. ;p
This commit is contained in:
parent
eb5afdf115
commit
1cd163a397
@ -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;
|
||||
|
@ -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";
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user