summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
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;
+        };
+      };
+    };
+  };
+}