mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
nixvim: update helper library usage
Hope nothing like this ever happen again. It's a pain to track where errors are coming from when debugging nixpkgs modules. T_T
This commit is contained in:
parent
9a5e6cb7f6
commit
ac4b36d550
@ -7,7 +7,7 @@ in
|
|||||||
options.plugins.dressing-nvim = {
|
options.plugins.dressing-nvim = {
|
||||||
enable = lib.mkEnableOption "dressing.nvim configuration";
|
enable = lib.mkEnableOption "dressing.nvim configuration";
|
||||||
|
|
||||||
package = helpers.mkPackageOption "dressing.nvim" pkgs.vimPlugins.dressing-nvim;
|
package = helpers.mkPluginPackageOption "dressing.nvim" pkgs.vimPlugins.dressing-nvim;
|
||||||
|
|
||||||
settings = lib.mkOption {
|
settings = lib.mkOption {
|
||||||
type = with lib.types; attrsOf anything;
|
type = with lib.types; attrsOf anything;
|
||||||
|
@ -6,7 +6,9 @@ in
|
|||||||
{
|
{
|
||||||
options.plugins.firenvim = {
|
options.plugins.firenvim = {
|
||||||
enable = lib.mkEnableOption "Firenvim";
|
enable = lib.mkEnableOption "Firenvim";
|
||||||
package = helpers.mkPackageOption "firenvim" pkgs.vimPlugins.firenvim;
|
|
||||||
|
package = helpers.mkPluginPackageOption "firenvim" pkgs.vimPlugins.firenvim;
|
||||||
|
|
||||||
settings = lib.mkOption {
|
settings = lib.mkOption {
|
||||||
type = with lib.types; attrsOf anything;
|
type = with lib.types; attrsOf anything;
|
||||||
default = { };
|
default = { };
|
||||||
|
@ -9,7 +9,7 @@ in
|
|||||||
options.plugins.legendary-nvim = {
|
options.plugins.legendary-nvim = {
|
||||||
enable = lib.mkEnableOption "legendary.nvim";
|
enable = lib.mkEnableOption "legendary.nvim";
|
||||||
|
|
||||||
package = helpers.mkPackageOption "legendary.nvim" pkgs.vimPlugins.legendary-nvim;
|
package = helpers.mkPluginPackageOption "legendary.nvim" pkgs.vimPlugins.legendary-nvim;
|
||||||
|
|
||||||
additionalSetup = mkEnableOption' "dependencies for additional features like frecency sorting";
|
additionalSetup = mkEnableOption' "dependencies for additional features like frecency sorting";
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ in
|
|||||||
options.colorschemes.lush = {
|
options.colorschemes.lush = {
|
||||||
enable = lib.mkEnableOption "theming with lush.nvim";
|
enable = lib.mkEnableOption "theming with lush.nvim";
|
||||||
|
|
||||||
package = helpers.mkPackageOption "lush.nvim" pkgs.vimPlugins.lush-nvim;
|
package = helpers.mkPluginPackageOption "lush.nvim" pkgs.vimPlugins.lush-nvim;
|
||||||
|
|
||||||
extraConfigLua = lib.mkOption {
|
extraConfigLua = lib.mkOption {
|
||||||
type = lib.types.lines;
|
type = lib.types.lines;
|
||||||
|
@ -8,7 +8,7 @@ in
|
|||||||
helpers.neovim-plugin.extraOptionsOptions // {
|
helpers.neovim-plugin.extraOptionsOptions // {
|
||||||
enable = lib.mkEnableOption "nvim-config-local";
|
enable = lib.mkEnableOption "nvim-config-local";
|
||||||
|
|
||||||
package = helpers.mkPackageOption "nvim-config-local" pkgs.vimPlugins.nvim-config-local;
|
package = helpers.mkPluginPackageOption "nvim-config-local" pkgs.vimPlugins.nvim-config-local;
|
||||||
|
|
||||||
configFiles = lib.mkOption {
|
configFiles = lib.mkOption {
|
||||||
type = with lib.types; listOf str;
|
type = with lib.types; listOf str;
|
||||||
|
Loading…
Reference in New Issue
Block a user