Skip to content

Commit

Permalink
test: nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
jz8132543 committed Jan 12, 2025
1 parent 54a83e1 commit ed8a8bb
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 17 deletions.
30 changes: 14 additions & 16 deletions home-manager/modules/tippy/nvim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,22 @@
{
programs.neovim = {
enable = true;
# package = pkgs.neovim-nightly;
# package = pkgs.neovim.override {
# lua = pkgs.luajit;
# };
defaultEditor = true;
viAlias = false;
vimAlias = true;
vimdiffAlias = true;
withNodeJs = false;
withNodeJs = true;
withRuby = false;
withPython3 = false;
defaultEditor = true;
coc.enable = false;
# plugins = [ pkgs.vimPlugins.nvim-treesitter.withAllGrammars ];
extraPackages = with pkgs; [
# luajitPackages.luarocks
(lua5_1.withPackages (
ps: with ps; [
luarocks
luv
]
))
imagemagick
];
};

Expand Down Expand Up @@ -61,11 +62,11 @@
recursive = true;
force = true;
};
xdg.dataFile."nvim/lazy/nvim-treesitter" = {
source = "${pkgs.vimPlugins.nvim-treesitter.withAllGrammars.outPath}";
recursive = true;
force = true;
};
# xdg.dataFile."nvim/lazy/nvim-treesitter" = {
# source = "${pkgs.vimPlugins.nvim-treesitter.withAllGrammars.outPath}";
# recursive = true;
# force = true;
# };

home.global-persistence = {
directories = [
Expand All @@ -78,11 +79,8 @@
home.packages = with pkgs; [
unzip
gnumake
luajitPackages.luarocks-nix
gcc
rust-bin.nightly.latest.minimal
# luarocks-nix
# luajit
# lsps
nil
nixd
Expand Down
15 changes: 14 additions & 1 deletion nixos/modules/base/baseline-apps.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@
mosh.enable = true;
mtr.enable = true;
traceroute.enable = true;

# neovim = {
# enable = true;
# defaultEditor = true;
# vimAlias = true;
# viAlias = false;
# };
fuse = {
mountMax = 32767;
userAllowOther = true;
Expand Down Expand Up @@ -57,5 +62,13 @@
fd
nix-output-monitor
nix-tree
# # neovim
# unzip
# gnumake
# luajit
# luaPackages.lua
# luajitPackages.luarocks
# luajitPackages.magick
# gcc
];
}

0 comments on commit ed8a8bb

Please sign in to comment.