- make partition on windows
- disable secure boot (bios)
- disable fast startup (ctrl panel -> power options -> faststartup)
- disable hibernation (powercfg.exe /hibernate off)
- download arch iso from mirror
- boot into live environment
iwctl
device list
station wlan0 scan
station wlan0 get-networks
station wlan0 connect test
or
iwctl --passphrase NETWORK-PASSWORD station DEVICE-NAME connect NETWORK-NAME
timedatectl set-ntp true
Make root & swap partitions
cfdisk /dev/disk_to_use
mkfs.ext4 /dev/root_partition
mkswap /dev/swap_partition
swapon /dev/swap_partition
mount /dev/root_partition /mnt
mount --mkdir /dev/efi_partition /mnt/efi
pacstrap /mnt base linux linux-firmware
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
ln -sf /usr/share/zoneinfo/US/Eastern /etc/localtime
hwclock --systohc
pacman -Sy neovim
Edit /etc/locale.gen and uncomment en_US.UTF-8 UTF-8.
Generate locale:
locale-gen
Create /etc/locale.conf and write the following line:
LANG=en_US.UTF-8
Edit /etc/hostname, and write name of machine on network
Edit /etc/hosts to look like this
127.0.0.1 localhost
::1 localhost
127.0.1.1 koawa.localdomain koawa
where koawa = your hostname
Create user, set user passwd, set root passwd
useradd -G wheel,audio,video -m USERNAME
passwd USERNAME
passwd
pacman -S grub efibootmgr os-prober
Edit /etc/default/grub and uncomment GRUB_DISABLE_OS_PROBER=false
Install grub
grub-install --target=x86_64-efi --efi-directory=/efi/ --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
pacman -S sudo
ln -s /usr/bin/nvim /usr/bin/vi
Add these two lines in sudoers file using visudo
root ALL=(ALL:ALL) ALL
neil ALL=(ALL:ALL) ALL
Edit the faillock config to disable lockout just personal preference on my desktop, probably not advisable
nvim /etc/security/faillock.conf
and set deny = 0
pacman -S networkmanager wpa_supplicant
systemctl enable NetworkManager.service
Reboot
nmcli d
nmcli r wifi on
nmcli d wifi list
nmcli d wifi connect WIFI_SSID_HERE password --YOUR_PASSWORD_HERE
pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si
pacman -S zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
yay -S --needed - < ./packages/xorg
yay -S --needed - < ./packages/required
yay -S --needed - < ./packages/audio
yay -S --needed - < ./packages/fonts
systemctl enable fstrim.timer
Refer to /etc/pacman.conf
Uncomment the following lines for multilib support
[multilib]
Include = /etc/pacman.d/mirrorlist
Enable these four lines for:
- colored output
- pacman animation
- listing packages in a verbose, tabular format when updating
- downloading packages in parallel
Color
ILoveCandy
VerbosePkgLists
ParallelDownloads = 5
git clone https://github.com/asiankoala/dotfiles
cd dotfiles
bombadil install
bombadil link -p bspwm
zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
Add zsh-autosuggestions
to plugins list in ~/.zshrc (already done if following dots)
zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
Add zsh-syntax-highlighting
to the end of plugins list (already done if following dots)
Minimal theme
git clone https://github.com/subnixr/minimal.git ${ZSH_CUSTOM}/themes/minimal
ln -s ${ZSH_CUSTOM}/themes/minimal/minimal.zsh ${ZSH_CUSTOM}/themes/minimal.zsh-theme
Set ZSH to be the default shell
chsh -s $(which zsh)
Create a file with the following contests at /etc/systemd/system/getty@tty1.service.d/autologin.conf
[Service]
ExecStart=
ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear --autologin neil - $TERM
Automatic X11 start should be configured with dotfiles
Copy files from dotfiles/x11/device/
to /etc/X11/xorg.conf.d/
Copy everything from ./packages/polybar-fonts
to ~/.local/share/fonts
(need to integrate this with AUR later but kinda lazy rn)
Use arandr and configure screen variables in ~/dotfiles/vars.toml
- thunderbird theme
- test setup script
- xdg dirs/auto mkdir all dirs
- github ssh
- gtk themes
- fix fonts being diff
https://wiki.archlinux.org/title/DisplayLink
ruby rust