mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-12-10 07:59:43 +00:00
- Added opencode plugin - Added keymaps for opencode actions (<leader>oa, <leader>ox, <leader>og) - Included lsof package for opencode.nvim to function
27 lines
528 B
Nix
27 lines
528 B
Nix
{
|
|
programs.nixvim = {
|
|
enable = true;
|
|
defaultEditor = true;
|
|
colorschemes.moonfly = {
|
|
enable = true;
|
|
};
|
|
opts = {
|
|
number = true;
|
|
relativenumber = true;
|
|
expandtab = true;
|
|
shiftwidth = 2;
|
|
tabstop = 2;
|
|
softtabstop = 2;
|
|
};
|
|
};
|
|
|
|
imports = [
|
|
./keymaps.nix
|
|
] ++ (
|
|
let
|
|
pluginsPath = ./plugins;
|
|
pluginFiles = builtins.attrNames (builtins.readDir pluginsPath);
|
|
in
|
|
map (module: pluginsPath + ("/" + module)) pluginFiles
|
|
);
|
|
}
|