diff --git a/.vscode/settings.json b/.vscode/settings.json index 70ab3ae..71706b1 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,3 @@ { - "conventionalCommits.scopes": ["workflow", "index", "package"] + "conventionalCommits.scopes": ["workflow", "index", "package", "content"] } diff --git a/src/content/artix-install-guide/index.md b/src/content/artix-install-guide/index.md index 8c379a2..2b69333 100644 --- a/src/content/artix-install-guide/index.md +++ b/src/content/artix-install-guide/index.md @@ -50,24 +50,10 @@ sudo dd bs=4M if=./artix-base-openrc-YYYY.MM.DD-x86_64.iso of=/dev/sdb conv=fsyn --- ## Enter the live environment -1. Login with the default credentials. -* Username: `artix` +Login with the default credentials. +* Username: `root` * Password: `artix` -2. Switch to the root user - -> [!Note] ->When encountering a code block as below throughout this guide, execute the commands within it directly in the terminal. - -> [!Info] ->When prompted for a password, enter `artix` - -``` -su - -``` - ---- - ## Connect to the internet ### Via Ethernet @@ -76,6 +62,9 @@ Connect the computer via an Ethernet cable ### Via WiFi +> [!Note] +>When encountering a code block as below throughout this guide, execute the commands within it directly in the terminal. + ``` sudo rfkill unblock wifi sudo ip link set wlan0 up @@ -270,35 +259,6 @@ Install Intel CPU microcode updates basestrap /mnt intel-ucode ``` -### Network stack - -``` -basestrap /mnt wpa_supplicant networkmanager networkmanager-openrc iwd iwd-openrc -rc-update add NetworkManager -rc-update add iwd - -cat << EOF >> /etc/NetworkManager/conf.d/wifi_backend.conf -[device] -wifi.backend=iwd -EOF -``` - -#### MAC randomization - -> [!Info] ->MAC randomization can be used for increased privacy by not disclosing your real MAC address to the WiFi network. - -``` -cat << EOF >> /etc/NetworkManager/conf.d/00-macrandomize.conf -[device-mac-randomization] -wifi.scan-rand-mac-address=yes - -[connection-mac-randomization] -ethernet.cloned-mac-address=random -wifi.cloned-mac-address=random -EOF -``` - --- ## Generate File System Table @@ -317,6 +277,35 @@ artix-chroot /mnt bash --- +## Network stack + +``` +pacman -S wpa_supplicant networkmanager networkmanager-openrc iwd iwd-openrc +rc-update add NetworkManager +rc-update add iwd + +cat << EOF >> /etc/NetworkManager/conf.d/wifi_backend.conf +[device] +wifi.backend=iwd +EOF +``` + +### MAC randomization + +> [!Info] +>MAC randomization can be used for increased privacy by not disclosing your real MAC address to the WiFi network. + +``` +cat << EOF >> /etc/NetworkManager/conf.d/00-macrandomize.conf +[device-mac-randomization] +wifi.scan-rand-mac-address=yes + +[connection-mac-randomization] +ethernet.cloned-mac-address=random +wifi.cloned-mac-address=random +EOF +``` + ## Localization ### Set the locale @@ -394,9 +383,6 @@ nano /etc/mkinitcpio.conf ``` 2. In the `HOOKS` array, add `encrypt` between `block` and `filesystems` -``` -mkinitcpio -P -``` > [!Note] >It should look something like this: @@ -405,6 +391,11 @@ mkinitcpio -P HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block encrypt filesystems fsck) ``` +3. Run this + +``` +mkinitcpio -P +``` --- ## Add a user @@ -466,7 +457,7 @@ ls /sys/firmware/efi/efivars blkid -s UUID -o value /dev/nvme0n1p2 ``` -2. Create a boot entry +2. Create a boot entry where xxxx is the UUID that you obtained earlier. > [!Tip] >Replace xxxx with the UUID that you obtained earlier.