Finalised Terminal Config

This commit is contained in:
2025-12-27 13:35:09 +01:00
parent f39de85d57
commit 9a777def2f
12 changed files with 165 additions and 212 deletions

View File

@@ -1,12 +1,16 @@
{ pkgs, ... }:
{
{ pkgs, ... }: {
# Yazi: Terminal file manager integration for Neovim
# Provides a fast, visual way to browse and manage files.
programs.nixvim = {
yazi = {
enable = true;
settings = {
open_for_directories = true;
};
};
# Use extraPlugins to manually load yazi.nvim
extraPlugins = with pkgs.vimPlugins; [ yazi-nvim ];
# Configure yazi after it's loaded
extraConfigLua = ''
require('yazi').setup({
open_for_directories = true,
})
'';
keymaps = [
{
@@ -31,7 +35,7 @@
}
];
# Install yazi terminal program
extraPackages = with pkgs; [ yazi ];
};
}