nixos-config/user/app/nvim/nvim.nix

35 lines
811 B
Nix
Raw Normal View History

2024-09-15 07:01:57 +05:30
{ config, pkgs, inputs, ... }:
{
home.packages = with pkgs; [
neovim
2024-09-17 08:16:12 +05:30
neovim-remote
neovide
2024-09-15 07:01:57 +05:30
lua-language-server
2024-09-17 08:16:12 +05:30
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
];
2024-09-17 08:16:12 +05:30
programs.neovim = {
viAlias = true;
vimAlias = true;
};
2024-09-15 07:01:57 +05:30
home.file.".config/nvim".source = ./.;
home.file.".config/nvim".recursive = true;
2024-09-15 07:01:57 +05:30
home.file.".config/nvim/lua/themes/stylix.lua".source = config.lib.stylix.colors {
template = builtins.readFile ./lua/themes/stylix.lua.mustache;
extension = ".lua";
};
}