Yazi: Difference between revisions
m remove duplicate schema in URL |
m minor correction |
||
| (2 intermediate revisions by 2 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 ==== | ||