mirror of
https://github.com/dwinkler1/nvimConfig.git
synced 2026-08-22 17:43:13 -04:00
21 lines
598 B
Nix
21 lines
598 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
# Environment variables set for the wrapper.
|
|
# These are available when running neovim.
|
|
config.env = lib.mkMerge [
|
|
(lib.mkIf (config.cats.python or false) {
|
|
UV_PYTHON_DOWNLOADS = "never";
|
|
UV_PYTHON = pkgs.python.interpreter;
|
|
})
|
|
# R.nvim v1.x owns its cache and temporary directories and exports
|
|
# RNVIM_COMPLDIR/RNVIM_TMPDIR during setup. Do not inject literal `$PWD`
|
|
# values into the wrapper environment.
|
|
];
|
|
|
|
# Environment variables with defaults (can be overridden by user)
|
|
config.envDefault = lib.mkMerge [ ];
|
|
}
|