feat: exa home-manager

This commit is contained in:
Laureηt 2022-12-24 17:58:20 +01:00
parent 03d4dda767
commit 0a517b2b98
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI

View file

@ -97,9 +97,7 @@ in {
home-manager.users.laurent = { home-manager.users.laurent = {
home.stateVersion = "22.11"; home.stateVersion = "22.11";
home.packages = with pkgs; [ home.packages = with pkgs; [
exa
duf duf
bat
tmux tmux
htop htop
rsync rsync
@ -165,13 +163,10 @@ in {
VISUAL = "nvim"; VISUAL = "nvim";
EDITOR = "nvim"; EDITOR = "nvim";
}; };
shellAliases = { # shellAliases = {
l = "exa -l -h -g --icons --git --time-style=long-iso"; # cat = "bat";
ls = "exa -l -h -g --icons --git --time-style=long-iso --grid"; # df = "duf";
ll = "exa -l -h -g --icons --grid --git --time-style=long-iso -a"; # };
cat = "bat";
df = "duf";
};
history = { history = {
size = 1000000000; size = 1000000000;
path = "$HOME/.zsh_history"; path = "$HOME/.zsh_history";
@ -246,6 +241,18 @@ in {
builtins.readFile "${catppuccin-bat}/Catppuccin-mocha.tmTheme"; builtins.readFile "${catppuccin-bat}/Catppuccin-mocha.tmTheme";
}; };
config.theme = "catppuccin"; config.theme = "catppuccin";
extraPackages = with pkgs.bat-extras; [ batman ];
};
programs.zsh.shellAliases = {
cat = "bat";
man = "batman";
};
programs.exa = { enable = true; };
programs.zsh.shellAliases = {
l = "exa -l -h -g --icons --git --time-style=long-iso";
ls = "exa -l -h -g --icons --git --time-style=long-iso --grid";
ll = "exa -l -h -g --icons --grid --git --time-style=long-iso -a";
}; };
programs.alacritty = { programs.alacritty = {