replace lsd with eza
This commit is contained in:
parent
d3d7b002e7
commit
9572050423
3 changed files with 11 additions and 30 deletions
|
@ -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
9
home/programs/eza.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
_: {
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
enableAliases = true;
|
||||
extraOptions = ["--group-directories-first" "--group"];
|
||||
git = true;
|
||||
icons = true;
|
||||
};
|
||||
}
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue