26 lines
485 B
Nix
26 lines
485 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
{
|
||
|
programs.neovim = {
|
||
|
package = pkgs.neovim-unwrapped;
|
||
|
enable = true;
|
||
|
viAlias = true;
|
||
|
vimAlias = true;
|
||
|
defaultEditor = true;
|
||
|
extraConfig = ":luafile ~/.config/nvim/init.lua";
|
||
|
|
||
|
plugins = with pkgs.vimPlugins; [
|
||
|
|
||
|
];
|
||
|
extraPackages = with pkgs; [
|
||
|
gcc
|
||
|
vimPlugins.packer-nvim
|
||
|
ripgrep
|
||
|
];
|
||
|
};
|
||
|
|
||
|
home.file."./.config/nvim/" = {
|
||
|
source = ../package-configs/nvim;
|
||
|
recursive = true;
|
||
|
};
|
||
|
}
|