# loadkeys jp106
# iwctl station wlan0 connect {SSID} -P {password}
# gdisk /dev/nvme0n1
# mkfs.vfat -F32 /dev/nvme0n1p1
# mkfs.btrfs -f /dev/nvme0n1p2
# mount /dev/nvme0n1p2 /mnt
# btrfs su c /mnt/@{,home}
# umount /mnt
# mount -o noatime,compress=zstd:1,space_cache=v2,subvol=@ /dev/nvme0n1p2 /mnt
# mkdir /mnt/{boot,home}
# mount /dev/nvme0n1p1 /mnt/boot
# mount -o noatime,compress=zstd:1,space_cache=v2,subvol=@home /dev/nvme0n1p2 /mnt/home
# vim /etc/pacman.conf
# ParallelDownloads = 5
をアンコメント
# reflector -c Japan -a 24 --sort rate --save /etc/pacman.d/mirrorlist
# pacstrap -Ki /mnt base{,-devel} linux-{zen,firmware} amd-ucode btrfs-progs dosfstools neovim networkmanager fish
# btrfs su c /mnt/@swap
# btrfs fi m -s 4g -U clear /mnt/@swap/swapfile
# chmod 600 /mnt/@swap/swapfile
# swapon /mnt/@swap/swapfile
# genfstab -U /mnt >> /mnt/etc/fstab
# arch-chroot /mnt /bin/fish
# echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
# echo "ja_JP.UTF-8 UTF-8" >> /etc/locale.gen
# locale-gen
# echo LANG=en_US.UTF-8 > /etc/locale.conf
# echo KEYMAP=jp106 > /etc/vconsole.conf
# ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime
# hwclock -w
# echo {hostname} > /etc/hostname
# systemctl enable NetworkManager
# bootctl install
title Arch Linux (linux-zen)
linux /vmlinuz-linux-zen
initrd /amd-ucode.img
initrd /initramfs-linux-zen.img
options root=/dev/nvme0n1p2 rootflags=subvol=@ rw sysrq_always_enabled=1
# nvim /boot/loader/loader.conf
# passwd
# useradd -m -G wheel -s $(which fish) {username}
# passwd {username}
# EDITOR=nvim visudo
# Defaults env_keep += "HOME"
# %wheel ALL=(ALL:ALL) NOPASSWD: ALL
上記2つをアンコメント
Defaults env_keep += "EDITOR"
Defaults env_keep += "VISUAL"
上記2つを追加
# nvim /etc/pacman.conf
# Color
と# ParallelDownloads = 5
をアンコメントしILoveCandy
を追加。extraリポジトリの部分もアンコメント
# nvim /etc/makepkg.conf
OPTIONS=(strip ... debug lto)
のdebug
を!debug
に変更
# nvim /etc/mkinitcpio.conf
HOOKS=(...)
内のbase udev
をsystemd
に置き換えfsck
を削除
# mkinitcpio -P
$ sudo pacman -S xdg-user-dirs
$ LC_ALL=C.UTF-8 xdg-user-dirs-update --force
$ sudo pacman -S git
$ git clone https://aur.archlinux.org/yay-bin.git
$ cd yay-bin
$ makepkg -si
$ sudo pacman -S hypr{land,lock,idle} xdg-desktop-portal-hyprland nwg-{look,bar,panel,clipman,hello} mako wofi foot pcmanfm-gtk3 xarchiver
$ sudo pacman -S noto-fonts-{cjk,emoji,extra} arc-{gtk,icon}-theme pipewire-{pulse,alsa} qt{5,6}ct kvantum{,-qt5}
$ sudo pacman -S zip unzip npm eza less archlinux-wallpaper udisks2 gvfs imv btop wqy-zenhei gopsuinfo swaybg
$ yay -S ttf-hackgen xremap-hypr-bin hypr{polkitagent,shot-git} uwsm
$ git clone https://github.com/Quasar-0330/arch-dots
$ chmod +x arch-dots/install.sh
$ bash arch-dots/install.sh
$ sudo systemctl enable greetd.service
$ sudo pacman -S fcitx5-im
$ rb #いったん再起動
$ yay -S fcitx5-mozc-ut
$ yay -S fcitx5-skin-arc
$ sudo pacman -S {firefox,thunderbird}{,-18n-ja}
$ sudo pacman -S steam
$ yay -S discord_arch_electron proton-ge-custom-bin