aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2018-11-17 14:47:40 -0200
committerEuAndreh <eu@euandre.org>2018-11-17 14:47:40 -0200
commit5cf184ae6c7cb73abc193dad46cdfb5fd944f1ba (patch)
tree0071d182dbf61b247fa7210f354d0bfe5a9811fd
parentmrconfig.ini. (diff)
downloaddotfiles-5cf184ae6c7cb73abc193dad46cdfb5fd944f1ba.tar.gz
dotfiles-5cf184ae6c7cb73abc193dad46cdfb5fd944f1ba.tar.xz
Improve instructions on os-installation.sh.
-rw-r--r--nixos/os-installation.sh18
1 files changed, 14 insertions, 4 deletions
diff --git a/nixos/os-installation.sh b/nixos/os-installation.sh
index bc49cce..9a78372 100644
--- a/nixos/os-installation.sh
+++ b/nixos/os-installation.sh
@@ -1,24 +1,34 @@
+# Check the devices and it's partitions:
+lsblk to check
+
+# If under /dev/sdc and mounted:
sudo umount /dev/sdc1
-sudo dd if=os.iso of=/dev/sdc #
+
+# Put the OS image on the USB stick:
+sudo dd if=nixos.iso of=/dev/sdc #
+
# Derived from https://www.maketecheasier.com/nixos-review/
# First, get an internet connection, either by using an ethernet cable or using =wpa_supplicant=:
# https://wiki.archlinux.org/index.php/WPA_supplicant
-# wpa_supplicant -B -i wlp2s0 -c <(wpa_passphrase SSID PASSPHRASE)
+wpa_supplicant -B -i wlp2s0 -c <(wpa_passphrase SSID PASSPHRASE)
+# Change keyboard to pt_BR layout:
loadkeys br-abnt2
+
+# Format disk:
fdisk /dev/sda
# START Steps within fdisk
-# First, delete all partitions with `d`
+d # first, delete all partitions with `d`
o
n
p
1
ENTER
-+2G
++4G
t
82