diff --git a/nixvim.nix b/nixvim.nix index cabd45d6..09b06e45 100644 --- a/nixvim.nix +++ b/nixvim.nix @@ -114,6 +114,18 @@ in description = "Extra contents for init.lua"; }; + extraLuaPreConfig = mkOption { + type = types.lines; + default = ""; + description = "Extra contents for init.lua before everything else"; + }; + + extraLuaPostConfig = mkOption { + type = types.lines; + default = ""; + description = "Extra contents for init.lua after everything else"; + }; + extraConfigVim = mkOption { type = types.lines; default = ""; @@ -203,30 +215,7 @@ in + extraWrapperArgs; }); - configure = { - customRC = cfg.extraConfigVim + '' - lua <