dots/users/price/conf/nvim/default.nix
Price Hiller 7355c4fbea
Some checks failed
Check Formatting of Files / Check-Formatting (push) Has been cancelled
fix(hm/price): ensure neovim gets current env vars
2024-12-01 22:15:38 -06:00

40 lines
618 B
Nix

{
pkgs,
lib,
...
}:
{
programs.neovim = {
enable = true;
package = pkgs.neovim;
extraWrapperArgs = [
"--suffix"
"LD_LIBRARY_PATH"
":"
"${lib.makeLibraryPath [
pkgs.sqlite
]}"
"--suffix"
"LIBRARY_PATH"
":"
"${lib.makeLibraryPath [
pkgs.stdenv.cc.cc
pkgs.zlib
]}"
"--suffix"
"PKG_CONFIG_PATH"
":"
"${lib.makeSearchPathOutput "dev" "lib/pkgconfig" [
pkgs.stdenv.cc.cc
pkgs.zlib
]}"
];
};
home = {
packages = with pkgs; [
neovide
bun
];
};
}