deploy: remove hardware-configuration check

This commit is contained in:
Henrik Lissner 2019-12-08 16:43:58 -05:00
parent 7948519620
commit ebb6906184
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

4
deploy
View file

@ -14,10 +14,6 @@ else
if [ ! -f "$DOTFILES/configuration.$HOST.nix" ]; then if [ ! -f "$DOTFILES/configuration.$HOST.nix" ]; then
>&2 echo "No configuration exists for host '$HOST'" >&2 echo "No configuration exists for host '$HOST'"
exit 1 exit 1
elif [ ! -f "$NIXOSPREFIX/hardware-configuration.nix" ]; then
>&2 echo "No hardware-configuration.nix file exists in $NIXOSPREFIX"
>&2 echo "Did you forget to set up your partitions?"
exit 2
fi fi
mkdir -p "$NIXOSPREFIX" mkdir -p "$NIXOSPREFIX"