configurations for my servers and desktops
nix
nixos
flake
dots
dotfiles
1{pkgs, ...}: {
2 home.packages = with pkgs; [
3 ripgrep
4 ];
5
6 programs.neovim = {
7 enable = true;
8 viAlias = true;
9 vimAlias = true;
10 defaultEditor = true;
11 plugins = with pkgs.vimPlugins; [
12 nvim-lspconfig
13
14 nvim-treesitter
15 nvim-treesitter.withAllGrammars
16
17 telescope-nvim
18 plenary-nvim
19 telescope-fzf-native-nvim
20
21 nvim-cmp
22 luasnip
23 cmp_luasnip
24
25 nvim-tree-lua
26
27 lazygit-nvim
28 ];
29 extraLuaConfig = ''
30 vim.g.loaded_netrw = 1
31 vim.g.loaded_netrwPlugin = 1
32 vim.opt.cmdheight = 0
33 require("nvim-tree").setup()
34 '';
35 };
36}