aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-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