blob: 1e7c91e379af7d95efd22a43e001509ca7d22807 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{
pkgs,
lib,
config,
nixpkgs_open_prs,
system,
...
}: let
cfg = config.soispha.programs.nvim;
in {
home-manager.users.soispha.programs.nixvim = lib.mkIf cfg.enable {
# 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 = [
nixpkgs_open_prs.nixpkgs-lf.legacyPackages."${system}".vimPlugins.lf-nvim
pkgs.vimPlugins.toggleterm-nvim # required by lf-nvim
];
};
}
|