feat(bash): add bash, remove zsh

This commit is contained in:
Barrett Ruth 2026-02-18 11:39:53 -05:00
parent 60f4b6e808
commit b373fbaaab
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
7 changed files with 127 additions and 108 deletions

View file

@ -82,15 +82,23 @@ in
"storage"
"power"
];
shell = pkgs.zsh;
shell = pkgs.bash;
};
programs.zsh = {
programs.bash = {
enable = true;
shellInit = ''
export ZDOTDIR="$HOME/.config/zsh"
export INPUTRC="$HOME/.config/nix/config/bash/inputrc"
export THEME="midnight"
'';
interactiveShellInit = ''
source "${pkgs.blesh}/share/blesh/ble.sh" --noattach
[ -f "$HOME/.config/nix/config/bash/bashrc" ] && . "$HOME/.config/nix/config/bash/bashrc"
[[ ''${BLE_VERSION-} ]] && ble-attach
'';
loginShellInit = ''
[ "$(tty)" = "/dev/tty1" ] && [ -z "$WAYLAND_DISPLAY" ] && start-hyprland
'';
};
programs.hyprland = {
enable = true;