Yazi: Difference between revisions

Freezy (talk | contribs)
m Changed config option to reflect current config: https://search.nixos.org/options?channel=25.11&query=programs.yazi.settings.
Phobos (talk | contribs)
m added a note on using existing toml files
Line 84: Line 84:
</syntaxhighlight>
</syntaxhighlight>


== Tips and Tricks ==
== Using separate files ==
If you would like to use your existing files to keep them portable, you can import them into your configuration using import.
{{File|3=programs.yazi = {
  enable = true;
  plugins = {
    inherit (pkgs.yaziPlugins) mount;
  };
  #initLua = ./init.lua
  settings = {
    yazi = lib.importTOML ./settings.toml;
    keymap = lib.importTOML ./keymap.toml;
    #theme = lib.importTOML ./theme.toml;     
  };
};|name=/etc/nixos/configuration.nix|lang=nix}}
 
== Tips and tricks ==


==== Installing Plugins ====
==== Installing Plugins ====