From 63e168bfc51f615010eab89e000c9f8fc4c461c9 Mon Sep 17 00:00:00 2001 From: Francis Hamel <36383308+francishamel@users.noreply.github.com> Date: Sat, 7 Sep 2024 22:37:21 -0400 Subject: [PATCH] Replace lsd with eza --- home-manager/flake-module.nix | 2 +- home-manager/modules/eza.nix | 16 ++++++++++++++++ home-manager/modules/lsd.nix | 13 ------------- 3 files changed, 17 insertions(+), 14 deletions(-) create mode 100644 home-manager/modules/eza.nix delete mode 100644 home-manager/modules/lsd.nix diff --git a/home-manager/flake-module.nix b/home-manager/flake-module.nix index 6f1a25d..c70c5e4 100644 --- a/home-manager/flake-module.nix +++ b/home-manager/flake-module.nix @@ -8,10 +8,10 @@ ./modules/alacritty.nix ./modules/bat.nix ./modules/direnv.nix + ./modules/eza.nix ./modules/fzf.nix ./modules/git.nix ./modules/helix.nix - ./modules/lsd.nix ./modules/ssh.nix ./modules/starship.nix ./modules/stylix.nix diff --git a/home-manager/modules/eza.nix b/home-manager/modules/eza.nix new file mode 100644 index 0000000..16672eb --- /dev/null +++ b/home-manager/modules/eza.nix @@ -0,0 +1,16 @@ +{ ... }: + +{ + programs.eza = { + enable = true; + enableZshIntegration = true; + extraOptions = [ + "--group" + "--group-directories-first" + "--header" + "--hyperlink" + ]; + git = true; + icons = true; + }; +} diff --git a/home-manager/modules/lsd.nix b/home-manager/modules/lsd.nix deleted file mode 100644 index dab189d..0000000 --- a/home-manager/modules/lsd.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ pkgs, ... }: - -{ - programs = { - lsd.enable = true; - - zsh.shellAliases = { - "ll" = "${pkgs.lsd}/bin/lsd -la"; - "ls" = "${pkgs.lsd}/bin/lsd"; - "lt" = "${pkgs.lsd}/bin/lsd --tree"; - }; - }; -}