feat: improve nvim config with nix
This commit is contained in:
parent
968ea9e6b7
commit
446dd1ddbd
2 changed files with 31 additions and 17 deletions
|
|
@ -713,6 +713,10 @@ require("lazy").setup({
|
|||
|
||||
{ "kenn7/vim-arsync", requires = { "prabirshrestha/async.vim" } },
|
||||
|
||||
{
|
||||
"nvim-tree/nvim-web-devicons",
|
||||
},
|
||||
|
||||
{ -- Collection of various small independent plugins/modules
|
||||
"echasnovski/mini.nvim",
|
||||
config = function()
|
||||
|
|
|
|||
|
|
@ -1,21 +1,31 @@
|
|||
{ pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
# needed for the nvim config, neovim itself is a system package already
|
||||
ripgrep
|
||||
programs.neovim =
|
||||
{
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
ripgrep
|
||||
luarocks
|
||||
gnumake
|
||||
rustc
|
||||
(python3.withPackages (python-pkgs: [
|
||||
python-pkgs.pip
|
||||
]))
|
||||
wget
|
||||
julia
|
||||
gopls
|
||||
nixpkgs-fmt
|
||||
lua51Packages.lua
|
||||
tree-sitter
|
||||
php83Packages.composer
|
||||
php83
|
||||
temurin-jre-bin
|
||||
fd
|
||||
];
|
||||
defaultEditor = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
|
||||
# TODO: find how I can make this build dependencies only
|
||||
gnumake
|
||||
rustc
|
||||
python3
|
||||
];
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
|
||||
extraLuaConfig = lib.fileContents ./init.lua;
|
||||
};
|
||||
extraLuaConfig = lib.fileContents ./init.lua;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue