aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-06-01 17:48:33 -0300
committerEuAndreh <eu@euandre.org>2019-06-01 17:48:33 -0300
commit4a423a6eceeea9b9d127f16b2825d5e3e1e6e97e (patch)
tree2773ee5dfb69dfe48d8561b1f87dabc9caedda1d /public
parentIndent template.nix (linter offense) (diff)
downloaddotfiles-4a423a6eceeea9b9d127f16b2825d5e3e1e6e97e.tar.gz
dotfiles-4a423a6eceeea9b9d127f16b2825d5e3e1e6e97e.tar.xz
Add reference to partitioning tutorials
Diffstat (limited to 'public')
-rwxr-xr-xpublic/nixos/install.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/public/nixos/install.sh b/public/nixos/install.sh
index e690f01..63aedad 100755
--- a/public/nixos/install.sh
+++ b/public/nixos/install.sh
@@ -83,6 +83,9 @@ mv "${TMP_DIR}/local-configuration.nix" /etc/nixos/local-configuration.nix
green "Done."
yellow "Wiping '${DEVICE}'and partitioning it..."
+# Derived from:
+# https://www.rodsbooks.com/gdisk/sgdisk-walkthrough.html
+# https://chris-martin.org/2015/installing-nixos
wipefs --all --force "${DEVICE}"
sgdisk --clear "${DEVICE}" # Unclear the v
sgdisk --zap-all "${DEVICE}" # order here ^