2024-03-28 12:17:49 -08:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
2024-11-29 13:11:00 -09:00
|
|
|
programs.bash = {
|
2024-03-28 12:17:49 -08:00
|
|
|
enable = true;
|
2024-04-07 19:13:37 -08:00
|
|
|
shellAliases = {
|
2024-04-12 08:05:18 -08:00
|
|
|
ls = "eza";
|
2024-04-17 21:26:43 -08:00
|
|
|
tree = "eza -T";
|
2024-04-07 19:13:37 -08:00
|
|
|
};
|
2024-05-28 21:34:07 -08:00
|
|
|
initExtraFirst = ''
|
2024-11-29 13:11:00 -09:00
|
|
|
export HISTFILE=$XDG_CACHE_HOME/.bash_history
|
|
|
|
GUIX_PROFILE=/home/mir/.guix-profile
|
|
|
|
. $GUIX_PROFILE/etc/profile
|
|
|
|
|
2024-03-28 12:17:49 -08:00
|
|
|
'';
|
|
|
|
};
|
2024-11-29 13:11:00 -09:00
|
|
|
# programs.zsh = {
|
|
|
|
# enable = true;
|
|
|
|
# shellAliases = {
|
|
|
|
# ls = "eza";
|
|
|
|
# tree = "eza -T";
|
|
|
|
# ping = "ping -c 4";
|
|
|
|
# ip = "ip -c";
|
|
|
|
# };
|
|
|
|
# initExtraFirst = ''
|
|
|
|
# [ -n "$EAT_SHELL_INTEGRATION_DIR" ] && \
|
|
|
|
# source "$EAT_SHELL_INTEGRATION_DIR/zsh"
|
|
|
|
# source ~/.p10k.zsh
|
|
|
|
# '';
|
|
|
|
# enableCompletion = true;
|
|
|
|
# # autosuggestions.enable = true;
|
|
|
|
# zplug = {
|
|
|
|
# enable = true;
|
|
|
|
# plugins = [
|
|
|
|
# { name = "zsh-users/zsh-autosuggestions"; }
|
|
|
|
# { name = "zdharma-continuum/fast-syntax-highlighting"; }
|
|
|
|
# { name = "romkatv/powerlevel10k"; tags = [ as:theme depth:1 ]; }
|
|
|
|
# { name = "zsh-users/zsh-completions"; }
|
|
|
|
# ];
|
|
|
|
# };
|
|
|
|
# };
|
2024-05-31 20:16:02 -08:00
|
|
|
programs.zoxide = {
|
|
|
|
enable = true;
|
|
|
|
options = [ "--cmd cd" ];
|
|
|
|
};
|
2024-06-04 17:23:37 -08:00
|
|
|
programs.fastfetch = {
|
|
|
|
enable = true;
|
|
|
|
settings.modules = [
|
|
|
|
"title"
|
|
|
|
"separator"
|
|
|
|
"os"
|
|
|
|
"host"
|
|
|
|
"kernel"
|
|
|
|
"uptime"
|
|
|
|
"packages"
|
|
|
|
"display"
|
|
|
|
"de"
|
|
|
|
"wm"
|
|
|
|
"cursor"
|
|
|
|
"terminal"
|
|
|
|
# "terminalfont"
|
|
|
|
"cpu"
|
|
|
|
"gpu"
|
|
|
|
"memory"
|
|
|
|
"swap"
|
|
|
|
"disk"
|
|
|
|
"localip"
|
|
|
|
"battery"
|
|
|
|
# "poweradapter"
|
|
|
|
"break"
|
|
|
|
"colors"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
programs.hyfetch = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
preset = "nonbinary";
|
|
|
|
mode = "rgb";
|
|
|
|
color_align = {
|
|
|
|
mode = "horizontal";
|
|
|
|
};
|
|
|
|
backend = "fastfetch";
|
|
|
|
};
|
|
|
|
};
|
2024-03-28 12:17:49 -08:00
|
|
|
}
|