about summary refs log tree commit diff stats
path: root/nix-conf/home
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-10-16 15:59:55 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-10-16 15:59:55 +0100
commita4b8eb8b264905ae33a15bd4583252d9961bd967 (patch)
tree6528a3621ad477e312e05e8a7f43bbb02c015f47 /nix-conf/home
parent3507b31aad2b71af2e2e9e4d734f9292f8a2b089 (diff)
downloaddotfiles-a4b8eb8b264905ae33a15bd4583252d9961bd967.tar.gz
Set eza icons value according to nixpkgs version
Diffstat (limited to 'nix-conf/home')
-rw-r--r--nix-conf/home/includes/common.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nix-conf/home/includes/common.nix b/nix-conf/home/includes/common.nix
index 339d470..acae580 100644
--- a/nix-conf/home/includes/common.nix
+++ b/nix-conf/home/includes/common.nix
@@ -140,7 +140,8 @@ in
   programs.eza = {
     enable = true;
     git = true;
-    icons = true;
+    # TODO remove when 24.11 is released
+    icons = if  builtins.substring 0 5 lib.version == "24.05" then true else "auto";
     enableBashIntegration = false;
     enableZshIntegration = false;
     enableFishIntegration = false;