From 560bd488bc6f90c29cf9ba07d4a6466b53771d81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 10 Nov 2019 10:06:53 +0000 Subject: [PATCH] Add bootstrap scaffold --- nixos/bootstrap.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 nixos/bootstrap.sh diff --git a/nixos/bootstrap.sh b/nixos/bootstrap.sh new file mode 100755 index 00000000..027ad9d0 --- /dev/null +++ b/nixos/bootstrap.sh @@ -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" +