Add bootstrap scaffold
This commit is contained in:
parent
ab239cd905
commit
560bd488bc
1 changed files with 10 additions and 0 deletions
10
nixos/bootstrap.sh
Executable file
10
nixos/bootstrap.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/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"
|
||||
|
Loading…
Reference in a new issue