79 lines
1.5 KiB
Nix
79 lines
1.5 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
# programs.bash = {
|
|
# enable = true;
|
|
# shellAliases = {
|
|
# ls = "eza";
|
|
# tree = "eza -T";
|
|
# };
|
|
# };
|
|
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"; }
|
|
];
|
|
};
|
|
};
|
|
programs.zoxide = {
|
|
enable = true;
|
|
options = [ "--cmd cd" ];
|
|
};
|
|
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";
|
|
};
|
|
};
|
|
}
|