feat: sync latest Arch Linux

main
sudo pacman -Syu 2022-12-21 00:56:32 +07:00
parent cd1fc144ab
commit bd47bf529a
Failed to extract signature
1 changed files with 15 additions and 22 deletions

View File

@ -26,13 +26,7 @@ ls /sys/firmware/efi/efivars
#### Connect to the internet #### Connect to the internet
Use [iwd](https://wiki.archlinux.org/index.php/Iwd). For wifi, use [iwd](https://wiki.archlinux.org/index.php/Iwd).
#### Update the system clock
```sh
timedatectl set-ntp true
```
#### Partition the disks #### Partition the disks
@ -104,33 +98,31 @@ mount -o compress=zstd /dev/root_partition /mnt
mount /dev/RootGroup/rootvol /mnt mount /dev/RootGroup/rootvol /mnt
# efi # efi
mkdir /mnt/efi mount --mkdir /dev/efi_system_partition /mnt/efi
mount /dev/efi_system_partition /mnt/efi
# boot # boot
mkdir /mnt/boot mount --mkdir /dev/extended_boot_loader_partition /mnt/boot
mount /dev/extended_boot_loader_partition /mnt/boot
``` ```
### Installation ### Installation
```sh ```sh
pacstrap /mnt base linux linux-firmware pacstrap -K /mnt base linux linux-firmware
# AMD # AMD
pacstrap /mnt amd-ucode pacstrap -K /mnt amd-ucode
# Intel # Intel
pacstrap /mnt intel-ucode pacstrap -K /mnt intel-ucode
# Btrfs # Btrfs
pacstrap /mnt btrfs-progs pacstrap -K /mnt btrfs-progs
# LVM # LVM
pacstrap /mnt lvm2 pacstrap -K /mnt lvm2
# Text editor # Text editor
pacstrap /mnt neovim pacstrap -K /mnt neovim
``` ```
### Configure ### Configure
@ -188,6 +180,7 @@ myhostname
Edit `/etc/mkinitcpio.conf`: Edit `/etc/mkinitcpio.conf`:
```txt ```txt
# LVM
# https://wiki.archlinux.org/title/Install_Arch_Linux_on_LVM#Adding_mkinitcpio_hooks # https://wiki.archlinux.org/title/Install_Arch_Linux_on_LVM#Adding_mkinitcpio_hooks
HOOKS=(base udev ... block lvm2 filesystems) HOOKS=(base udev ... block lvm2 filesystems)
@ -250,7 +243,7 @@ useradd -m -G wheel -s /usr/bin/zsh -c "The Joker" joker
passwd joker passwd joker
``` ```
[systemd-homed](https://wiki.archlinux.org/index.php/Systemd-homed): [systemd-homed (WIP)](https://wiki.archlinux.org/index.php/Systemd-homed):
```sh ```sh
systemctl enable systemd-homed.service systemctl enable systemd-homed.service
@ -278,16 +271,16 @@ pacman -Syu xorg-server
```sh ```sh
pacman -Syu gnome-shell \ pacman -Syu gnome-shell \
gnome-control-center gnome-system-monitor \ gnome-control-center gnome-system-monitor \
gnome-terminal gnome-backgrounds gnome-screenshot gnome-keyring \ gnome-tweaks gnome-backgrounds gnome-screenshot gnome-keyring gnome-logs \
nautilus xdg-user-dirs-gtk file-roller \ gnome-console gnome-text-editor \
evince eog nautilus xdg-user-dirs-gtk file-roller evince eog
# Login manager # Login manager
pacman -Syu gdm pacman -Syu gdm
systemctl enable gdm.service systemctl enable gdm.service
``` ```
#### [KDE](https://wiki.archlinux.org/title/KDE) #### [KDE (WIP)](https://wiki.archlinux.org/title/KDE)
```sh ```sh
pacman -Syu plasma-meta \ pacman -Syu plasma-meta \