mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nix): migrate yazi
This commit is contained in:
2
Brewfile
2
Brewfile
@@ -408,8 +408,6 @@ brew "wxwidgets"
|
||||
brew "xdotool"
|
||||
# JavaScript package manager
|
||||
brew "yarn"
|
||||
# Blazing fast terminal file manager written in Rust, based on async I/O
|
||||
brew "yazi"
|
||||
# Download YouTube videos from the command-line
|
||||
brew "youtube-dl"
|
||||
# Process YAML, JSON, XML, CSV and properties documents from the CLI
|
||||
|
||||
@@ -23,6 +23,7 @@ in
|
||||
./ruby
|
||||
./skhd
|
||||
./yabai
|
||||
./yazi
|
||||
];
|
||||
|
||||
config = {
|
||||
|
||||
34
nix/home/yazi/default.nix
Normal file
34
nix/home/yazi/default.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.yazi = {
|
||||
enable = true;
|
||||
enableBashIntegration = true;
|
||||
enableFishIntegration = true;
|
||||
enableZshIntegration = true;
|
||||
settings = {
|
||||
log = {
|
||||
enabled = false;
|
||||
};
|
||||
manager = {
|
||||
ratio = [ 1 4 3 ];
|
||||
show_hidden = false;
|
||||
sort_by = "natural";
|
||||
sort_dir_first = true;
|
||||
sort_sensitive = false;
|
||||
sort_reverse = false;
|
||||
show_symlink = true;
|
||||
};
|
||||
opener = {
|
||||
edit = [
|
||||
{
|
||||
run = "nvim \"$@\"";
|
||||
block = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = [ pkgs.yazi ];
|
||||
}
|
||||
Reference in New Issue
Block a user