dotfiles/home-manager/nvim.nix
Benjamin Palko c3e5fc9028 defaults
2024-08-09 13:18:19 -04:00

52 lines
745 B
Nix

{ config, pkgs, ... }:
{
home.packages = with pkgs; [
# Languages
lua
(python3.withPackages (
p: with p; [
pygobject3
gst-python
]
))
# C++
meson
ninja
cmake
gnumake
clang
clang-tools
# OpenGL
fmt
fmt.dev
glfw-wayland
libGL
libGL.dev
# Other
nodejs
bun
rustc
go
cargo
# Extensions
ripgrep
xclip
fzf
nixfmt-rfc-style
lazygit
];
xdg.configFile.nvim = {
source = config.lib.file.mkOutOfStoreSymlink ../nvim;
recursive = true;
};
programs.neovim = {
enable = true;
};
home.sessionVariables = {
EDITOR = "nvim";
VCPKG_ROOT = "${pkgs.vcpkg.outPath}/share/vcpkg";
};
}