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

16 lines
248 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 "";
}