dotfiles/home-manager/nvim.nix
Benjamin Palko 12154d5bcb opengl boiii
2024-08-07 21:44:44 -04:00

48 lines
705 B
Nix

{ config, pkgs, ... }:
{
home.packages = with pkgs; [
# Languages
lua
(python3.withPackages (
p: with p; [
pygobject3
gst-python
]
))
# C++
cmake
gnumake
clang
clang-tools
# OpenGL
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";
};
}