nix/modules/home/programs/shell.nix
2024-06-20 13:00:14 +02:00

41 lines
609 B
Nix

{ pkgs, ... }:
{
home.packages = with pkgs; [
eza
bat
];
home.shellAliases = {
ls = "eza";
};
programs.bash = {
enable = true;
};
programs.starship = {
enable = true;
enableBashIntegration = true;
};
programs.zellij = {
enable = true;
# enableBashIntegration = true;
};
home.file.zellij = {
target = ".config/zellij/config.kdl";
text = ''
pane_frames false
default_layout "compact"
keybinds {
normal {
bind "Ctrl e" { ToggleFloatingPanes; SwitchToMode "normal"; }
}
}
'';
};
}