mirror of
https://github.com/dwinkler1/nvimConfig.git
synced 2026-02-19 22:40:57 -05:00
init wrapper-module config
This commit is contained in:
commit
91755583fd
46 changed files with 4277 additions and 0 deletions
35
modules/module/settings/core.nix
Normal file
35
modules/module/settings/core.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
# Point to the directory containing init.lua, plugin/, lua/, etc.
|
||||
config.settings.config_directory = ../../..;
|
||||
|
||||
# Default colorscheme and background
|
||||
config.settings.colorscheme = "kanagawa";
|
||||
config.settings.background = "dark";
|
||||
|
||||
# Enable RC wrapping (allows neovim to find the config)
|
||||
config.settings.wrapRc = true;
|
||||
|
||||
# Lua packages available to neovim (for :lua require())
|
||||
config.settings.nvim_lua_env = lp:
|
||||
lib.optionals (config.cats.general or false) [ lp.tiktoken_core ];
|
||||
|
||||
# Binary name for the wrapper
|
||||
config.binName = "n";
|
||||
|
||||
# Prevent neovim from loading system-wide config
|
||||
config.settings.block_normal_config = true;
|
||||
|
||||
# Don't symlink the config (we wrap it instead)
|
||||
config.settings.dont_link = false;
|
||||
|
||||
# Create additional aliases for the binary
|
||||
config.settings.aliases = [ "vim" ];
|
||||
|
||||
# Enable wrapper handling of spec runtimeDeps (template pattern).
|
||||
config.settings.autowrapRuntimeDeps = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue