From eb5f1bd77b79845ba37d8f7b5ec3946471116f57 Mon Sep 17 00:00:00 2001
From: teto
Default: Declared by: Whether to enable yazi. Type:
+boolean Default:
+ Example:
+ Declared by: Whether to enable Bash integration. Type:
+boolean Default:
+ Example:
+ Declared by: Whether to enable Zsh integration. Type:
+boolean Default:
+ Example:
+ Declared by: Yazi package to install. Type:
+package Default:
+ Declared by: Configuration written to
+ See https://github.com/sxyazi/yazi/blob/main/config/docs/keymap.md
+for the full list of options. Type:
+TOML value Default:
+ Example: Declared by: Configuration written to
+ See https://github.com/sxyazi/yazi/blob/main/config/docs/yazi.md
+for the full list of options. Type:
+TOML value Default:
+ Example: Declared by: Configuration written to
+ See https://github.com/sxyazi/yazi/blob/main/config/docs/theme.md
+for the full list of options Type:
+TOML value Default:
+ Example: Declared by: Whether to enable yt-dlp. Type:
boolean Default:
Example:
<home-manager/modules/programs/xmobar.nix>
+
programs.yazi.enable
false
true
+<home-manager/modules/programs/yazi.nix>
+
programs.yazi.enableBashIntegration
false
true
+<home-manager/modules/programs/yazi.nix>
+
programs.yazi.enableZshIntegration
false
true
+<home-manager/modules/programs/yazi.nix>
+
programs.yazi.package
pkgs.yazi
+<home-manager/modules/programs/yazi.nix>
+
programs.yazi.keymap
$XDG_CONFIG_HOME/yazi/keymap.toml
.{ }
{
+ input.keymap = [
+ { exec = "close"; on = [ "<C-q>" ]; }
+ { exec = "close --submit"; on = [ "<Enter>" ]; }
+ { exec = "escape"; on = [ "<Esc>" ]; }
+ { exec = "backspace"; on = [ "<Backspace>" ]; }
+ ];
+ manager.keymap = [
+ { exec = "escape"; on = [ "<Esc>" ]; }
+ { exec = "quit"; on = [ "q" ]; }
+ { exec = "close"; on = [ "<C-q>" ]; }
+ ];
+}
+
+
+<home-manager/modules/programs/yazi.nix>
+
programs.yazi.settings
$XDG_CONFIG_HOME/yazi/yazi.toml
.{ }
{
+ log = {
+ enabled = false;
+ };
+ manager = {
+ show_hidden = false;
+ sort_by = "modified";
+ sort_dir_first = true;
+ sort_reverse = true;
+ };
+}
+
+
+<home-manager/modules/programs/yazi.nix>
+
programs.yazi.theme
$XDG_CONFIG_HOME/yazi/theme.toml
.{ }
{
+ filetype = {
+ rules = [
+ { fg = "#7AD9E5"; mime = "image/*"; }
+ { fg = "#F3D398"; mime = "video/*"; }
+ { fg = "#F3D398"; mime = "audio/*"; }
+ { fg = "#CD9EFC"; mime = "application/x-bzip"; }
+ ];
+ };
+}
+
+
+<home-manager/modules/programs/yazi.nix>
programs.yt-dlp.enable
false