mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
nixvim/plugins: fix modules
This commit is contained in:
parent
72ce52a9ee
commit
2c5b4c9308
@ -7,7 +7,9 @@ in
|
||||
options.plugins.firenvim = {
|
||||
enable = lib.mkEnableOption "Firenvim";
|
||||
package = helpers.mkPackageOption "firenvim" pkgs.vimPlugins.firenvim;
|
||||
settings = helpers.mkSettingsOption {
|
||||
settings = lib.mkOption {
|
||||
type = with lib.types; attrsOf anything;
|
||||
default = { };
|
||||
description = ''
|
||||
Extra configuration options for Firenvim.
|
||||
'';
|
||||
|
@ -24,7 +24,7 @@ in
|
||||
|
||||
settings = lib.mkOption {
|
||||
type = lib.types.submodule {
|
||||
freefromType = with lib.types; attrsOf anything;
|
||||
freeformType = with lib.types; attrsOf anything;
|
||||
|
||||
config = lib.mkMerge [
|
||||
(lib.mkIf
|
||||
|
@ -9,7 +9,9 @@ in
|
||||
|
||||
package = helpers.mkPackageOption "smart-splits.nvim" pkgs.vimPlugins.smart-splits-nvim;
|
||||
|
||||
settings = helpers.mkSettingsOption {
|
||||
settings = lib.mkOption {
|
||||
type = with lib.types; attrsOf anything;
|
||||
default = { };
|
||||
description = ''
|
||||
Configuration to be passed as argument to `setup` function of the
|
||||
plugin.
|
||||
|
Loading…
Reference in New Issue
Block a user