zsh: add nixos-rebuild aliases
This commit is contained in:
parent
a17eb40eae
commit
19069aba44
1 changed files with 6 additions and 1 deletions
|
@ -137,8 +137,13 @@ export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
|
|||
export CARGO_HOME="$XDG_DATA_HOME"/cargo
|
||||
|
||||
|
||||
alias dosbox="dosbox -conf "$XDG_CONFIG_HOME"/dosbox/dosbox.conf "
|
||||
alias dosbox="dosbox -conf $XDG_CONFIG_HOME/dosbox/dosbox.conf"
|
||||
alias rbs="reconfig switch"
|
||||
alias rbb="reconfig build"
|
||||
|
||||
reconfig() {
|
||||
sudo nixos-rebuild --flake "/etc/nixos#$(cat /etc/hostname)" "$@"
|
||||
}
|
||||
|
||||
# Autostart Hyprland after all environmental Variables have been declared
|
||||
if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then
|
||||
|
|
Loading…
Reference in a new issue