meta: Migrate yazi from home-manager to shell module

This is a part of making it easier to instantly have access to yazi
without having to worry about using home-manager. Note that this works
for my use case since I don't use Nix on non-NixOS devices and don't
intend to do so anytime soon.
This commit is contained in:
Donovan Glover 2024-04-04 11:25:25 -04:00
parent cd5f0793d7
commit e64cc2697f
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 30 additions and 29 deletions

View File

@ -1,29 +0,0 @@
{
programs.yazi = {
enable = true;
settings = {
manager = {
ratio = [ 1 2 4 ];
sort_dir_first = true;
};
preview = {
tab_size = 4;
image_filter = "lanczos3";
max_width = 1920;
max_height = 1080;
image_quality = 90;
};
};
keymap = {
manager.prepend_keymap = [
{
run = "remove --force";
on = [ "d" ];
}
];
};
};
}

View File

@ -274,5 +274,35 @@ in
show_program_path = false;
};
};
yazi = {
enable = true;
settings = {
yazi = {
manager = {
ratio = [ 1 2 4 ];
sort_dir_first = true;
};
preview = {
tab_size = 4;
image_filter = "lanczos3";
max_width = 1920;
max_height = 1080;
image_quality = 90;
};
};
keymap = {
manager.prepend_keymap = [
{
run = "remove --force";
on = [ "d" ];
}
];
};
};
};
};
}