mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-24 17:23:09 +01:00
Revert "meta: Migrate yazi from home-manager to shell module"
There is currently a bug where yazi crashes since it tries to create directories but is unable to due to being managed at the system level. There is an open PR in nixpkgs, however it's been 3 weeks and it hasn't been merged yet.
This commit is contained in:
parent
e64cc2697f
commit
764fbd4917
29
home/yazi.nix
Normal file
29
home/yazi.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{
|
||||
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" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
@ -274,35 +274,5 @@ 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" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user