{ pkgs, lib, ... }: { programs.nixvim = { # TODO: package lf-nvim though a module # FIXME: change the nvim path, when I change the path with lf extraConfigLuaPost = '' ${lib.strings.fileContents ./lua/lf-nvim.lua} ''; extraPlugins = [ pkgs.vimExtraPlugins.lf-nvim pkgs.vimPlugins.toggleterm-nvim # required by lf-nvim ]; }; }