nix/modules/home/cli/common/shell.nix

41 lines
609 B
Nix
Raw Normal View History

2024-05-28 14:19:16 +02:00
{ pkgs, ... }:
{
home.packages = with pkgs; [
eza
bat
];
home.shellAliases = {
ls = "eza";
};
programs.bash = {
enable = true;
};
2024-06-20 13:00:14 +02:00
programs.starship = {
2024-05-28 14:19:16 +02:00
enable = true;
enableBashIntegration = true;
};
2024-06-20 13:00:14 +02:00
programs.zellij = {
enable = true;
# enableBashIntegration = true;
};
2024-05-28 14:19:16 +02:00
home.file.zellij = {
target = ".config/zellij/config.kdl";
text = ''
pane_frames false
default_layout "compact"
keybinds {
normal {
bind "Ctrl e" { ToggleFloatingPanes; SwitchToMode "normal"; }
}
}
'';
};
}