nixos-config/user/app/nvim/nvim.nix
2024-09-16 21:46:12 -05:00

35 lines
811 B
Nix

{ config, pkgs, inputs, ... }:
{
home.packages = with pkgs; [
neovim
neovim-remote
neovide
lua-language-server
vscode-langservers-extracted
nil
clang-tools
marksman
python311Packages.python-lsp-server
typescript-language-server
java-language-server
dockerfile-language-server-nodejs
docker-compose-language-service
kotlin-language-server
bash-language-server
yaml-language-server
sqls
nmap
];
programs.neovim = {
viAlias = true;
vimAlias = true;
};
home.file.".config/nvim".source = ./.;
home.file.".config/nvim".recursive = true;
home.file.".config/nvim/lua/themes/stylix.lua".source = config.lib.stylix.colors {
template = builtins.readFile ./lua/themes/stylix.lua.mustache;
extension = ".lua";
};
}