diff --git a/modules/programs/neovim.nix b/modules/programs/neovim.nix index 2e9cbca6..7b4afd5c 100644 --- a/modules/programs/neovim.nix +++ b/modules/programs/neovim.nix @@ -76,8 +76,8 @@ in }; configure = mkOption { - type = types.nullOr types.attrs; - default = null; + type = types.attrs; + default = {}; example = literalExample '' configure = { customRC = $'''' @@ -103,9 +103,10 @@ in home.packages = [ (pkgs.neovim.override { inherit (cfg) - extraPython3Packages withPython3 - extraPythonPackages withPython + withPython3 withPython withRuby viAlias vimAlias configure; + extraPython3Packages = (_: cfg.extraPython3Packages); + extraPythonPackages = (_: cfg.extraPythonPackages); }) ]; };