diff --git a/nixvim.nix b/nixvim.nix index 653a4e25..49d2f72c 100644 --- a/nixvim.nix +++ b/nixvim.nix @@ -204,7 +204,7 @@ in }); configure = { - customRC = cfg.extraConfigVim + (optionalString (cfg.colorscheme != "") '' + customRC = cfg.extraConfigVim + (optionalString (cfg.colorscheme != "" && cfg.colorscheme != null) '' colorscheme ${cfg.colorscheme} '') + '' lua <