commit f95c9135ddfe63b96731e29769103c68a7b9d42a
parent 7175ef57293bdedd5f0a4ccbd4136f5c4ac645e7
Author: Vincent Demeester <vincent@sbr.pm>
Date: Wed, 29 Apr 2020 01:15:13 +0200
Add nix-shell shebang and sleep after mkfs
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/install.sh b/install.sh
@@ -1,4 +1,5 @@
-#!/usr/bin/env bash
+#!/usr/bin/env nix-shell
+#! nix-shell -i git
# This scripts tries to automate the NixOS installation
# as much as possible.
# curl https://gitlab.com/vdemeester/home/-/raw/master/install.sh | sh
@@ -26,6 +27,7 @@ set -x
mkfs.ext4 -L nixos ${disk}1
mkswap -L swap ${disk}2
mkfs.fat -F 32 -n boot ${disk}3
+sleep 20
set +x
echo "Mount filesystems"