deploy: remove hardware-configuration check
This commit is contained in:
parent
7948519620
commit
ebb6906184
4
deploy
4
deploy
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue