replace lsd with eza

This commit is contained in:
Adithya 2023-09-10 13:07:04 +05:30
parent d3d7b002e7
commit 9572050423
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
3 changed files with 11 additions and 30 deletions

View file

@ -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

9
home/programs/eza.nix Normal file
View file

@ -0,0 +1,9 @@
_: {
programs.eza = {
enable = true;
enableAliases = true;
extraOptions = ["--group-directories-first" "--group"];
git = true;
icons = true;
};
}

View file

@ -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";
};
};
}