Pim Kunis
ad636b8d00
don't let firefox remember logins install terraform-ls for nvim fix work ssh private key file location
37 lines
703 B
Nix
37 lines
703 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
config = {
|
|
home.packages = with pkgs; [
|
|
nil
|
|
nodePackages.pyright
|
|
neofetch
|
|
gopls
|
|
terraform-ls
|
|
];
|
|
|
|
programs.neovim = {
|
|
enable = true;
|
|
viAlias = true;
|
|
vimAlias = true;
|
|
vimdiffAlias = true;
|
|
defaultEditor = true;
|
|
plugins = with pkgs.vimPlugins; [
|
|
nvim-lspconfig
|
|
gruvbox-nvim
|
|
leap-nvim
|
|
telescope-nvim
|
|
vim-commentary
|
|
vim-sleuth
|
|
gitsigns-nvim
|
|
nvim-cmp
|
|
cmp-nvim-lsp
|
|
friendly-snippets
|
|
neodev-nvim
|
|
];
|
|
extraLuaConfig = builtins.readFile ./neovim.lua;
|
|
};
|
|
|
|
programs.git.extraConfig.core.editor = "nvim";
|
|
};
|
|
}
|