dotfiles/nixos/bootstrap-livecd.sh

11 lines
203 B
Bash
Raw Normal View History

2019-11-10 10:06:53 +00:00
#!/usr/bin/env bash
# needs to be launched from nixos livecd
if [[ `hostname` != "nixos" ]]; then
echo "this script can only be ran from NixOS livecd"
exit 1
fi
echo "Done. Please reboot now"