2023-04-11 11:08:44 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
# Packages that should be installed to the user profile.
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
nodejs # needed for lsp
|
|
|
|
fzf # fuzzy finder
|
2023-05-28 18:19:30 +00:00
|
|
|
#neovim # alternative to vim
|
2023-04-11 11:08:44 +00:00
|
|
|
];
|
2023-05-28 18:19:30 +00:00
|
|
|
|
|
|
|
programs.neovim = {
|
|
|
|
enable = true;
|
|
|
|
extraLuaConfig = ''
|
|
|
|
require("set")
|
|
|
|
require("remap")
|
|
|
|
require("plugins")
|
2023-06-12 16:15:10 +00:00
|
|
|
require("utils")
|
2023-05-28 18:19:30 +00:00
|
|
|
|
|
|
|
local status, ts_install = pcall(require, "nvim-treesitter.install")
|
|
|
|
if(status) then
|
|
|
|
ts_install.compilers = { "${pkgs.gcc}/bin/gcc" }
|
|
|
|
end
|
|
|
|
'';
|
|
|
|
};
|
2023-04-11 11:08:44 +00:00
|
|
|
}
|