diff options
author | Alan Pearce | 2024-04-18 09:15:26 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-18 09:16:14 +0200 |
commit | 743e0bfdc880a036d46f6f8e147be480cdfe8266 (patch) | |
tree | f07860e772713f83e50239dc7c894699ad070acf /user/settings | |
parent | b0f71978e87f6193897dfe74498cc78b635fcce3 (diff) | |
download | nixfiles-743e0bfdc880a036d46f6f8e147be480cdfe8266.tar.lz nixfiles-743e0bfdc880a036d46f6f8e147be480cdfe8266.tar.zst nixfiles-743e0bfdc880a036d46f6f8e147be480cdfe8266.zip |
shell: install yazi
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/shell.nix | 3 | ||||
-rw-r--r-- | user/settings/yazi.nix | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/user/settings/shell.nix b/user/settings/shell.nix index a857e15c..768e52a6 100644 --- a/user/settings/shell.nix +++ b/user/settings/shell.nix @@ -15,6 +15,9 @@ let else "--time-style=long-iso"; in { + imports = [ + ./yazi.nix + ]; home = { shellAliases = { l = "ls ${lsOptions} -Bp"; diff --git a/user/settings/yazi.nix b/user/settings/yazi.nix new file mode 100644 index 00000000..b80227da --- /dev/null +++ b/user/settings/yazi.nix @@ -0,0 +1,16 @@ +{ pkgs +, ... +}: { + programs.yazi = { + enable = true; + enableFishIntegration = true; + settings = { + yazi = { + manager = { + sort_by = "natural"; + sort_dir_first = true; + }; + }; + }; + }; +} |