Files
nix-los/home/modules/editor.nix

28 lines
552 B
Nix
Raw Normal View History

2026-04-07 02:34:03 +02:00
{ config, lib, pkgs, pkgs-unstable, ... }:
{
programs.neovim = {
enable = true;
defaultEditor = true;
extraPackages = with pkgs; [
# Telescope
2026-04-07 02:34:03 +02:00
ripgrep
fd
# LSP servers
lua-language-server
gopls
python3.pkgs.python-lsp-server
# Formatters
stylua
2026-04-07 02:34:03 +02:00
];
};
2026-04-07 02:34:03 +02:00
# Link the lua config directory as ~/.config/nvim
# Plugins are managed by lazy.nvim (see nvim-config/lua/eliaskohout/plugins.lua)
xdg.configFile."nvim" = {
source = ../../config/nvim;
recursive = true;
2026-04-07 02:34:03 +02:00
};
}