cerulean
This commit is contained in:
parent
ac95603fc4
commit
61b531aa11
42 changed files with 1061 additions and 445 deletions
17
homes/modules/bash/bashrc
Normal file
17
homes/modules/bash/bashrc
Normal 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
|
||||
6
homes/modules/bash/default.nix
Normal file
6
homes/modules/bash/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{...}: {
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
bashrcExtra = builtins.readFile ./bashrc;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue