summaryrefslogtreecommitdiff
path: root/home-manager/modules/apps/nvim/default.nix
blob: ebba423d7352eb4f782a95cdcc2291d3fb667573 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{ pkgs, config, ...}:
{
  programs.neovim = {
    enable = true; 
     defaultEditor = true;
     viAlias = true; 
     vimAlias = true; 
     vimdiffAlias = true;
     withPython3 = true; 
     withNodeJs = true; 
     withRuby = true; 
  
     coc.enable = false; 
  # 
     plugins = [
     ];
  };

  home.file."./.config/nvim/lua/wilkuu/init.lua".text = ''
    require("wilkuu.set")
    require("wilkuu.remap")
  '';

  home.file."./.config/nvim/lua/wilkuu/nix.lua".text = ''
    return {
      vue_ts_plugin = "/home/wilkuu/.npm/@vue/typescript-plugin",
    } 
  '';

  home.sessionPath = [
    "/home/wilkuu/.npm/bin/"
  ]; 

  home.packages = with pkgs; [
    lua
    lua-language-server
    gopls 
    go
    typescript
    nodejs_22 
    rustup
    nixd 
    nixfmt-rfc-style 
    pyright
    nodePackages.intelephense
    texlive.combined.scheme-full
    texlab
  ];

}