nixos-config/config/programs/vim/modules/misc/firenvim.nix

17 lines
304 B
Nix

{
pkgs,
config,
...
}: {
output.plugins =
if config.isDesktop
then with pkgs.vimPlugins; [firenvim]
else [];
output.extraConfig =
if config.isDesktop
then ''
silent call firenvim#install(0)
''
else "";
vim.opt.guifont = "Fira_Code_Mono_Nerd_Font_Mono:h9";
}