mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
Trying to fix nvim plugins
This commit is contained in:
parent
d863e0e539
commit
8ea2f91e2a
5 changed files with 34 additions and 14 deletions
|
|
@ -19,7 +19,10 @@ in
|
|||
|
||||
services.gpg-agent.enableBashIntegration = true;
|
||||
programs = {
|
||||
direnv.nix-direnv.enable = true;
|
||||
direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
ripgrep.enable = true;
|
||||
lsd = {
|
||||
enable = true;
|
||||
|
|
|
|||
19
homeConfig/modules/neovim/config/plugins/backup.nix
Normal file
19
homeConfig/modules/neovim/config/plugins/backup.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
theme = import ./theme;
|
||||
treesitter = import ./treesitter;
|
||||
editing = import ./editing;
|
||||
lsp = import ./lsp;
|
||||
luasnip = import ./luasnip;
|
||||
tools = import ./tools;
|
||||
|
||||
in
|
||||
builtins.concatMap (dir: dir { inherit pkgs lib; }) [
|
||||
theme
|
||||
treesitter
|
||||
editing
|
||||
lsp
|
||||
luasnip
|
||||
tools
|
||||
]
|
||||
|
|
@ -1,19 +1,9 @@
|
|||
{ pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
theme = import ./theme;
|
||||
treesitter = import ./treesitter;
|
||||
editing = import ./editing;
|
||||
lsp = import ./lsp;
|
||||
luasnip = import ./luasnip;
|
||||
tools = import ./tools;
|
||||
lazyvim = import ./lazyvim;
|
||||
|
||||
in
|
||||
builtins.concatMap (dir: dir { inherit pkgs lib; }) [
|
||||
theme
|
||||
treesitter
|
||||
editing
|
||||
lsp
|
||||
luasnip
|
||||
tools
|
||||
lazyvim
|
||||
]
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
with pkgs.vimPlugins;
|
||||
[
|
||||
{ plugin = LazyVim; }
|
||||
]
|
||||
|
|
@ -13,7 +13,9 @@ in
|
|||
vimAlias = true;
|
||||
|
||||
# extraLuaConfig = import ./config/init.nix;
|
||||
plugins = import (./config/plugins) { inherit pkgs lib; };
|
||||
plugins = with pkgs.vimPlugins; [
|
||||
LazyVim
|
||||
];
|
||||
extraPackages = import ./config/servers.nix { inherit pkgs; };
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue