Files
home-manager/terminal-environment/editor.nix
Nina Chlóe Kassandra Reiß 0f748ec335 Add neovim to configuration
2026-06-02 21:05:24 +02:00

43 lines
749 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;
};
xdg.configFile."nvim/nvim" = {
source = neovim_configuration;
};
}