diff --git a/homeManagerModules/apps/default.nix b/homeManagerModules/apps/default.nix index 4d840a9a..51e76414 100644 --- a/homeManagerModules/apps/default.nix +++ b/homeManagerModules/apps/default.nix @@ -20,6 +20,7 @@ ./vsCodium ./waybar ./wlogout + ./yazi ./zed ]; } diff --git a/homeManagerModules/apps/yazi/default.nix b/homeManagerModules/apps/yazi/default.nix new file mode 100644 index 00000000..72a4decf --- /dev/null +++ b/homeManagerModules/apps/yazi/default.nix @@ -0,0 +1,28 @@ +{ + config, + lib, + ... +}: { + config = lib.mkIf config.ar.home.apps.yazi.enable { + programs.yazi = { + enable = true; + enableBashIntegration = true; + + settings = { + log.enabled = false; + + manager = { + show_hidden = false; + sort_by = "modified"; + sort_dir_first = true; + sort_reverse = true; + sort_sensitive = true; + linemode = "size"; + show_symlink = true; + }; + + preview.tab_size = 4; + }; + }; + }; +} diff --git a/homeManagerModules/options.nix b/homeManagerModules/options.nix index 573d079f..dc0e6c1f 100644 --- a/homeManagerModules/options.nix +++ b/homeManagerModules/options.nix @@ -71,6 +71,7 @@ in { vsCodium.enable = lib.mkEnableOption "VSCodium text editor."; waybar.enable = lib.mkEnableOption "Waybar wayland panel."; wlogout.enable = lib.mkEnableOption "Wlogout session prompt."; + yazi.enable = lib.mkEnableOption "Yazi terminal file manager."; zed = { enable = lib.mkEnableOption "Zed text editor."; diff --git a/homes/aly/default.nix b/homes/aly/default.nix index 2fde5d9d..b3f0a0cd 100644 --- a/homes/aly/default.nix +++ b/homes/aly/default.nix @@ -81,6 +81,7 @@ in { keepassxc.enable = true; kitty.enable = true; tmux.enable = true; + yazi.enable = true; zed = { enable = true;