25 lines
488 B
Nix
25 lines
488 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
# Packages that should be installed to the user profile.
|
|
home.packages = with pkgs; [
|
|
nodejs # needed for lsp
|
|
fzf # fuzzy finder
|
|
#neovim # alternative to vim
|
|
];
|
|
|
|
programs.neovim = {
|
|
enable = true;
|
|
extraLuaConfig = ''
|
|
require("set")
|
|
require("remap")
|
|
require("plugins")
|
|
require("utils")
|
|
|
|
local status, ts_install = pcall(require, "nvim-treesitter.install")
|
|
if(status) then
|
|
ts_install.compilers = { "${pkgs.gcc}/bin/gcc" }
|
|
end
|
|
'';
|
|
};
|
|
}
|