chore(content): general updates

This commit is contained in:
z0x 2025-01-17 17:32:53 -05:00
parent 420a170d5d
commit 153f42a543
2 changed files with 41 additions and 50 deletions

View file

@ -1,3 +1,3 @@
{ {
"conventionalCommits.scopes": ["workflow", "index", "package"] "conventionalCommits.scopes": ["workflow", "index", "package", "content"]
} }

View file

@ -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 ## Enter the live environment
1. Login with the default credentials. Login with the default credentials.
* Username: `artix` * Username: `root`
* Password: `artix` * 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 ## Connect to the internet
### Via Ethernet ### Via Ethernet
@ -76,6 +62,9 @@ Connect the computer via an Ethernet cable
### Via WiFi ### 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 rfkill unblock wifi
sudo ip link set wlan0 up sudo ip link set wlan0 up
@ -270,35 +259,6 @@ Install Intel CPU microcode updates
basestrap /mnt intel-ucode 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 ## 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 ## Localization
### Set the locale ### Set the locale
@ -394,9 +383,6 @@ nano /etc/mkinitcpio.conf
``` ```
2. In the `HOOKS` array, add `encrypt` between `block` and `filesystems` 2. In the `HOOKS` array, add `encrypt` between `block` and `filesystems`
```
mkinitcpio -P
```
> [!Note] > [!Note]
>It should look something like this: >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) HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block encrypt filesystems fsck)
``` ```
3. Run this
```
mkinitcpio -P
```
--- ---
## Add a user ## Add a user
@ -466,7 +457,7 @@ ls /sys/firmware/efi/efivars
blkid -s UUID -o value /dev/nvme0n1p2 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] > [!Tip]
>Replace xxxx with the UUID that you obtained earlier. >Replace xxxx with the UUID that you obtained earlier.