shell aliases: add nixos aliases
yes, I am officially trying nixos
This commit is contained in:
parent
f1465d01bb
commit
370a0c74ea
1 changed files with 6 additions and 0 deletions
|
@ -117,6 +117,12 @@ alias \
|
||||||
dc='docker-compose' \
|
dc='docker-compose' \
|
||||||
occ='docker exec -u www-data nextcloud php occ --ansi' \
|
occ='docker exec -u www-data nextcloud php occ --ansi' \
|
||||||
|
|
||||||
|
# Nix
|
||||||
|
alias \
|
||||||
|
nx='sudo $EDITOR /etc/nixos/configuration.nix' \
|
||||||
|
nx-upd='sudo nix-channel --update' \
|
||||||
|
nx-upg='sudo nixos-rebuild switch' \
|
||||||
|
|
||||||
# file copying with a progress bar
|
# file copying with a progress bar
|
||||||
alias cpv="rsync -ah --info=progress2"
|
alias cpv="rsync -ah --info=progress2"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue