22 lines
351 B
Nix
22 lines
351 B
Nix
{
|
|
pkgs,
|
|
configs ? pkgs.configs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
programs.neovim = {
|
|
enable = true;
|
|
defaultEditor = true;
|
|
extraConfig =
|
|
let
|
|
config = configs.neovim;
|
|
in
|
|
''
|
|
set runtimepath+=${config}
|
|
source ${config}/init.lua
|
|
'';
|
|
};
|
|
|
|
}
|