Yazi: Difference between revisions
mNo edit summary |
m minor correction |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 43: | Line 43: | ||
enable = true; | enable = true; | ||
settings = { | settings = { | ||
yazi = { | |||
ratio = [ | ratio = [ | ||
1 | 1 | ||
| Line 84: | Line 84: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Tips and | == Using separate files == | ||
If you would like to use your existing files to keep them portable, you can import them into your configuration directly to be read and built by nix. | |||
{{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 ==== | ||
| Line 166: | Line 181: | ||
*[https://search.nixos.org/options?channel=unstable&query=programs.yazi NixOS options for Yazi] | *[https://search.nixos.org/options?channel=unstable&query=programs.yazi NixOS options for Yazi] | ||
*[ | *[https://yazi-rs.github.io/docs/installation/ Yazi official documentation] | ||
== References == | == References == | ||
[[Category:Applications]] | [[Category:Applications]] | ||
[[Category:File Manager]] | [[Category:File Manager]] | ||