mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-18 09:34:00 +05:30
Trying yazi instead of ranger
This commit is contained in:
parent
c28546a0c8
commit
31e2f08079
2 changed files with 23 additions and 0 deletions
|
@ -17,6 +17,7 @@
|
|||
brave.enable = true;
|
||||
editor = "emacs";
|
||||
ranger.enable = true;
|
||||
yazi.enable = true;
|
||||
git.enable = true;
|
||||
engineering.enable = true;
|
||||
art.enable = true;
|
||||
|
|
22
modules/user/yazi/default.nix
Normal file
22
modules/user/yazi/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ config, lib, pkgs, ...}:
|
||||
|
||||
let
|
||||
cfg = config.userSettings.yazi;
|
||||
in {
|
||||
options = {
|
||||
userSettings.yazi = {
|
||||
enable = lib.mkEnableOption "Enable yazi TUI file manager";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.yazi = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
keymap.manager.prepend_keymap =
|
||||
[
|
||||
{ run = "shell ' \"$0\"' --cursor=0 --interactive"; on = [ "@" ]; }
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue