Skip to content

ChrisW-priv/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfile repo

This repo is designed to be main source of reproducing my main daily use machine

Setup

I assume I have arch on a pendrive and have working terminal.

First: Connect to the internet.

iwctl

station wlan0 connect SSID

Second: 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_partition

Download basic packages

pacstrap /mnt base linux linux-firmware sof-firmware base-devel grub efibootmgr networkmanager vim

Save the file system

genfstab /mnt > /mnt/etc/fstab

Configure grub

grub-install /dev/disk
grub-mkconfig -o /boot/grub/grub.cfg

Change to arch root

arch-chroot /mnt

Set timezone

ln -sf /usr/share/zoneinfo/Europe/Warsaw /etc/localtime
hwclock --systohc

Set Localization

vim /etc/locale.gen
locale-gen
echo "LANG=en_US.UTF-8" > /etc/locale.conf
# set hostname
echo "new_machine" > /etc/hostname

Setup nework manager

systemctl enable NetworkManager

Add new user

Add chris user and add to wheel group
useradd -m -G wheel -s /bin/bash chris
passwd chris
visudo

su chris

Download 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/setup

Reboot

exit
exit
umount -a
reboot

After setup script we need to setup stuff in graphical env

# Config github cli
gh auth login
gh auth setup-git

# Config nitrogen
nitrogen

About

personal dotfiles for faster linux config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published