44 lines
786 B
Nix
44 lines
786 B
Nix
{ config, pkgs, ... }:
|
|
let
|
|
neovim_configuration = pkgs.fetchgit {
|
|
url = "https://git.nichkara.eu/nichkara/nvim";
|
|
rev = "ba38abd4c782efc592a97b6da453492eae37f8d0";
|
|
sha256 = "sha256-E00IKMwpS6WjkWnpxpg0NxWYZEhbNlS+0vs0Nv5N4eY=";
|
|
};
|
|
|
|
profile = import ../profile.nix;
|
|
in
|
|
{
|
|
|
|
home.packages = with pkgs; [
|
|
neovim-qt
|
|
|
|
fzf
|
|
ripgrep
|
|
ripgrep-all
|
|
ctags
|
|
lua54Packages.luarocks-nix
|
|
nixfmt
|
|
haskellPackages.lsp
|
|
|
|
python3
|
|
nodejs
|
|
ruby
|
|
];
|
|
|
|
programs.neovim = {
|
|
enable = true;
|
|
defaultEditor = true;
|
|
withNodeJs = true;
|
|
withPerl = true;
|
|
withPython3 = true;
|
|
withRuby = true;
|
|
waylandSupport = true;
|
|
initLua = "require('nvim')";
|
|
};
|
|
|
|
xdg.configFile."nvim/lua/nvim" = {
|
|
source = neovim_configuration;
|
|
};
|
|
}
|