This repo is designed to be main source of reproducing my main daily use machine
I assume I have arch on a pendrive and have working terminal.
First: Connect to the internet.
iwctl
station wlan0 connect SSIDSecond: Disc partition
cfdisk
lsblk
mkfs.ext4 /dev/root_partition
mkfs.fat -F 32 /dev/efi_system_partition
mkswap /dev/swap_partition
mount /dev/root_partition /mnt
mkdir /mnt/boot/efi
mount /dev/efi_system_partition /mnt/boot/efi
swapon /dev/swap_partitionDownload basic packages
pacstrap /mnt base linux linux-firmware sof-firmware base-devel grub efibootmgr networkmanager vimSave the file system
genfstab /mnt > /mnt/etc/fstabConfigure grub
grub-install /dev/disk
grub-mkconfig -o /boot/grub/grub.cfgChange to arch root
arch-chroot /mntSet timezone
ln -sf /usr/share/zoneinfo/Europe/Warsaw /etc/localtime
hwclock --systohcSet Localization
vim /etc/locale.gen
locale-gen
echo "LANG=en_US.UTF-8" > /etc/locale.conf
# set hostname
echo "new_machine" > /etc/hostnameSetup nework manager
systemctl enable NetworkManagerAdd new user
Add chris user and add to wheel group
useradd -m -G wheel -s /bin/bash chris
passwd chris
visudo
su chrisDownload more packages
# Allow user to switch default pacman download to pararell
sudo vim /etc/pacman.conf
sudo pacman -S sddm i3 alacritty git
# clone this repo
https://github.com/ChrisW-priv/dotfiles.git
source ./dotfiles/setupReboot
exit
exit
umount -a
rebootAfter setup script we need to setup stuff in graphical env
# Config github cli
gh auth login
gh auth setup-git
# Config nitrogen
nitrogen