summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2024-04-18 09:15:26 +0200
committerAlan Pearce2024-04-18 09:16:14 +0200
commit743e0bfdc880a036d46f6f8e147be480cdfe8266 (patch)
treef07860e772713f83e50239dc7c894699ad070acf /user
parentb0f71978e87f6193897dfe74498cc78b635fcce3 (diff)
downloadnixfiles-743e0bfdc880a036d46f6f8e147be480cdfe8266.tar.lz
nixfiles-743e0bfdc880a036d46f6f8e147be480cdfe8266.tar.zst
nixfiles-743e0bfdc880a036d46f6f8e147be480cdfe8266.zip
shell: install yazi
Diffstat (limited to 'user')
-rw-r--r--user/settings/shell.nix3
-rw-r--r--user/settings/yazi.nix16
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;
+        };
+      };
+    };
+  };
+}