This commit is contained in:
do butterflies cry? 2026-03-07 13:08:30 +10:00
parent ac95603fc4
commit 61b531aa11
42 changed files with 1061 additions and 445 deletions

17
homes/modules/bash/bashrc Normal file
View file

@ -0,0 +1,17 @@
eval "$(starship init bash)"
alias eep='systemctl suspend'
alias hibernate='systemctl hybrid-sleep'
alias restart='systemctl reboot'
alias shutdown='systemctl poweroff'
alias vim='dvim'
alias nvim='dvim'
rebuild() {
if [ -z "$1" ]
then
sudo nixos-rebuild switch --flake ~/dea-files#"$(hostname)"
else
sudo nixos-rebuild switch --flake ~/dea-files#"$1"
fi
}
[ -f "/home/dea/.ghcup/env" ] && . "/home/dea/.ghcup/env" # ghcup-env

View file

@ -0,0 +1,6 @@
{...}: {
programs.bash = {
enable = true;
bashrcExtra = builtins.readFile ./bashrc;
};
}