about summary refs log tree commit diff stats
path: root/nix-conf/home/includes/common.nix
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-09-11 13:54:06 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-09-11 13:54:06 +0100
commita7e0edb5b80f96af93eea81b72e638de8ecba97f (patch)
tree37c5fff4113b89a7ec1357baf951ef7920e7a8b7 /nix-conf/home/includes/common.nix
parent209cf9c6f2b091a886b2c386fa59d0712ecf5d22 (diff)
downloaddotfiles-a7e0edb5b80f96af93eea81b72e638de8ecba97f.tar.gz
Add lsd config
Diffstat (limited to 'nix-conf/home/includes/common.nix')
-rw-r--r--nix-conf/home/includes/common.nix19
1 files changed, 18 insertions, 1 deletions
diff --git a/nix-conf/home/includes/common.nix b/nix-conf/home/includes/common.nix
index 39440e1..6a0c721 100644
--- a/nix-conf/home/includes/common.nix
+++ b/nix-conf/home/includes/common.nix
@@ -73,7 +73,6 @@ in
     jq
     libqalculate
     lscolors
-    lsd
     lynx
     mercurial
     nix-info
@@ -331,4 +330,22 @@ in
       signByDefault = true;
     };
   };
+
+  programs.lsd = {
+    enable = true;
+    settings = {
+      indicators = true;
+      #layout = "oneline";
+      sorting.dir-grouping = "first";
+      blocks = [
+        "git"
+        "permission"
+        "user"
+        "group"
+        "size"
+        "date"
+        "name"
+      ];
+    };
+  };
 }