From 9572050423d749f62f70666728a9d2bae65ed50f Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sun, 10 Sep 2023 13:07:04 +0530 Subject: [PATCH] replace lsd with eza --- home/programs/default.nix | 4 ++-- home/programs/eza.nix | 9 +++++++++ home/programs/lsd.nix | 28 ---------------------------- 3 files changed, 11 insertions(+), 30 deletions(-) create mode 100644 home/programs/eza.nix delete mode 100644 home/programs/lsd.nix diff --git a/home/programs/default.nix b/home/programs/default.nix index 202ee0c..d627853 100644 --- a/home/programs/default.nix +++ b/home/programs/default.nix @@ -4,13 +4,13 @@ ./bat.nix ./btop.nix ./direnv.nix - ./git.nix + ./eza.nix ./files.nix ./firefox.nix + ./git.nix ./github-cli.nix ./gnupg.nix ./kitty.nix - ./lsd.nix ./mpv.nix ./neovim.nix ./starship.nix diff --git a/home/programs/eza.nix b/home/programs/eza.nix new file mode 100644 index 0000000..9b8846d --- /dev/null +++ b/home/programs/eza.nix @@ -0,0 +1,9 @@ +_: { + programs.eza = { + enable = true; + enableAliases = true; + extraOptions = ["--group-directories-first" "--group"]; + git = true; + icons = true; + }; +} diff --git a/home/programs/lsd.nix b/home/programs/lsd.nix deleted file mode 100644 index 14ebd74..0000000 --- a/home/programs/lsd.nix +++ /dev/null @@ -1,28 +0,0 @@ -{pkgs, ...}: let - dracula-lsd = pkgs.fetchFromGitHub { - owner = "dracula"; - repo = "lsd"; - rev = "75f3305a2bba4dacac82b143a15d278daee28232"; - hash = "sha256-ZNyNYJEffxxU7K/7JOv+VRD3JbhW42kvmWk7pLu1vA8="; - }; -in { - xdg.configFile."lsd/themes/colors.yaml".source = "${dracula-lsd}/dracula.yaml"; - programs.lsd = { - enable = true; - enableAliases = true; - settings = { - color = { - when = "always"; - theme = "custom"; - }; - icons = { - when = "always"; - theme = "fancy"; - }; - sorting = { - dir-grouping = "first"; - }; - date = "relative"; - }; - }; -}