shell: alias rebuild to nixos rebuild

Fixes #27
This commit is contained in:
Timothy DeHerrera 2020-12-11 11:21:53 -07:00
parent 0623b00924
commit fd1dd69566
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ let
elif [[ $1 == "iso" ]]; then
nix build ${configs}.niximg.${build}.isoImage
else
sudo -E nix shell -vv ${configs}.$1.${build}.toplevel -c switch-to-configuration $2
sudo nixos-rebuild --flake ".#$1" $2
fi
'';
in