Skip to content

Commit

Permalink
fix: nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
jz8132543 committed Sep 29, 2024
1 parent a5286a4 commit d5b5b56
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 73 deletions.
126 changes: 63 additions & 63 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions home-manager/modules/tippy/gpg.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
pkgs,
lib,
...
}:
{
services.gpg-agent = {
enable = true;
# pinentryPackage = pkgs.pinentry-curses;
pinentryPackage = lib.mkForce pkgs.pinentry-qt;
pinentryPackage = pkgs.pinentry-curses;
# pinentryPackage = lib.mkForce pkgs.pinentry-qt;
};
programs.gpg = {
enable = true;
Expand Down
29 changes: 22 additions & 7 deletions home-manager/modules/tippy/nvim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
programs.neovim = {
enable = true;
# package = pkgs.neovim-nightly;
package = pkgs.neovim.override {
lua = pkgs.luajit;
};
viAlias = false;
vimAlias = true;
vimdiffAlias = true;
Expand All @@ -15,14 +18,24 @@
withPython3 = false;
defaultEditor = true;
coc.enable = false;
extraLuaPackages =
p: with p; [
luarocks
magick
];
plugins = [ pkgs.vimPlugins.nvim-treesitter.withAllGrammars ];
extraPackages = with pkgs; [
clang
imagemagick
luajitPackages.luarocks
gcc
# lsps
nil
nixd
lua-language-server
terraform-ls
nodePackages.vscode-langservers-extracted # css,eslint,html,json,markdown
nodePackages.typescript
nodePackages.typescript-language-server
nodePackages.bash-language-server
nodePackages.dockerfile-language-server-nodejs
# formatters
eslint_d
prettierd
nodePackages.prettier
];
};

Expand Down Expand Up @@ -61,5 +74,7 @@
home.packages = with pkgs; [
unzip
gnumake
# luarocks-nix
# luajit
];
}

0 comments on commit d5b5b56

Please sign in to comment.