diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-11-19 21:02:52 +0100 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-11-19 21:02:52 +0100 |
| commit | 892de67a9f64d0b0cdb023d830a019d8feec0a57 (patch) | |
| tree | 0c5fd0c60ef93bb5cdc5f83c8cade0c5dddb4899 /home-modules/apps/nvim/default.nix | |
| parent | f5b37610b3835ea26757ef36d554ec598d53100c (diff) | |
Nix fmt
Diffstat (limited to '')
| -rw-r--r-- | home-modules/apps/nvim/default.nix | 90 |
1 files changed, 51 insertions, 39 deletions
diff --git a/home-modules/apps/nvim/default.nix b/home-modules/apps/nvim/default.nix index 58a7dda..f45095f 100644 --- a/home-modules/apps/nvim/default.nix +++ b/home-modules/apps/nvim/default.nix @@ -1,26 +1,32 @@ -{ pkgs, config, lib,...}: +{ + pkgs, + config, + lib, + ... +}: let -ts_ls=pkgs.typescript-language-server; -vue_ls=pkgs.vue-language-server; -in { + ts_ls = pkgs.typescript-language-server; + vue_ls = pkgs.vue-language-server; +in +{ options.homeapps.nvim = { - enable = lib.mkEnableOption "Enables neovim configuration"; + enable = lib.mkEnableOption "Enables neovim configuration"; }; - config = lib.mkIf config.homeapps.nvim.enable { + config = lib.mkIf config.homeapps.nvim.enable { programs.neovim = { - enable = true; - defaultEditor = true; - viAlias = true; - vimAlias = true; - vimdiffAlias = true; - withPython3 = true; - withNodeJs = true; - withRuby = true; - - coc.enable = false; - plugins = [ - ]; + 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 = '' @@ -36,28 +42,34 @@ in { home.sessionPath = [ "/home/wilkuu/.npm/bin/" - ]; + ]; - home.packages = with pkgs; [ - lua - lua-language-server - gopls - go - typescript - nodejs_22 - rustup - nil - statix - nixfmt-rfc-style - # phpactor - pyright - nodePackages.intelephense - texlive.combined.scheme-medium - texlab - mermaid-cli - ltex-ls - deno - ] ++ [ ts_ls vue_ls]; + home.packages = + with pkgs; + [ + lua + lua-language-server + gopls + go + typescript + nodejs_22 + rustup + nil + statix + nixfmt-rfc-style + # phpactor + pyright + nodePackages.intelephense + texlive.combined.scheme-medium + texlab + mermaid-cli + ltex-ls + deno + ] + ++ [ + ts_ls + vue_ls + ]; }; } |
