moved nixvim into own home-manager module.

moved pass store location.
This commit is contained in:
Gabe Venberg 2024-03-31 17:42:33 -05:00
parent bbc6beb3da
commit 2253c6c34a
28 changed files with 24 additions and 11 deletions

View file

@ -0,0 +1,28 @@
{
config,
pkgs,
lib,
...
}: {
config =
lib.mkIf config.host.nvim.enable-treesitter
{
programs.nixvim = {
keymaps = [
{
action = ":AerialToggle!<CR>";
key = "<leader>o";
mode = "n";
options = {
silent = true;
desc = "toggle outline";
};
}
];
extraPlugins = with pkgs.vimPlugins; [
aerial-nvim
];
extraConfigLua = ''require("aerial").setup({})'';
};
};
}