Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Arch Linux K.I.S.S. system with Gnome40 setup (intel nuc, intel laptop & intel desktop)
- ========================================================================================
- Network
- =======
- ip a
- iwctl
- Partition
- =========
- lsblk
- gpart efi +300M hex ef00
- root all disk w q
- mkfs.fat -F32 /dev/sdx1
- mkfs.btrfs /dev/sdx2
- mount /dev/sdx2 /mnt
- btrfs su cr /mnt/@
- btrfs su cr /mnt/@home
- umount /mnt
- mount -o noatime,compress=lzo,space_cache=v2,subvol=@ /dev/sdx2 /mnt
- mkdir -p /mnt/{boot,home}
- mount -o noatime,compress=lzo,space_cache=v2,subvol=@home /dev/sdx2 /mnt/home
- base setup
- ==========
- pacstrap /mnt base base-devel linux-firmware nano intel-ucode intel-media-driver libva-intel-driver mc zsh gnome gdm geany alsa-utils pulseaudio-bluetooth bluez bluez-utils pulseaudio neofetch git
- genfstab -U /mnt >> /mnt/etc/fstab
- arch-chroot
- timezone
- ========
- ln -sf /usr/share/zoneinfo/America/Halifax /etc/localtime
- timedatectl list-time | grep <city> Halifax
- hwclock --systohc
- nano /etc/locale.gen
- choose your locale en_US.UTF-8
- locale-gen
- nano /etc/locale.conf LANG=en_US.UTF-8
- hostname
- ========
- nano /etc/hostname <<-- put whatever you want for your hostname
- root passwd & pacman grub efi network linux
- ============================================
- passwd <<-- type a root password
- pacman -S grub efibootmgr networkmanager network-manager-applet dialog wpa_supplican xdg-utils xdg-user-dirs inetutils linux-headers bash-completion
- Kernel modules setup intel kms modesetting & btrfs
- ===================================================
- nano /etc/mkinitcpio.conf
- MODULES=(i915 btrfs)
- mkinitcpio -p linux
- UEFI Bootloader Grub
- =====================
- grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
- grub-mkconfig -o /boot/grub/grub.cfg
- setting up systemd stuff
- =========================
- systemctl enable NetworkManager
- systemctl enable bluetooth
- systemctl enable gdm
- User & passwd
- ==============
- useradd -mG wheel <username> tuxhat
- passwd <username> tuxhat
- visudo
- Uncomment to allow members of group wheel to exec any command
- %wheel ALL=(ALL) ALL
- :x
- Setting up Yay AUR Package Manager
- ==================================
- git clone https://aur.archlinux.org/yay.git
- cd yay
- makepkg -sri --noconfirm --needed
- yay -S gnome-shell-extension-dash-to-dock-gnome40-git <<-- Dash-to-Dock for gnome 40
- ==============
- Example script
- ==============
- install-yay.sh
- if ! command -v yay >/dev/null; then
- tmp=$(mktemp -d)
- function finish { rm -rf "$tmp"; } # clean up after yourself...
- trap finish EXIT # ...no matter how you exist
- git clone https://aur.archlinux.org/yay.git "$tmp"
- pushd "$tmp"
- makepkg -sri --noconfirm --needed
- popd
- if ! command -v yay >/dev/null; then
- >&2 echo "yay failed to install"
- exit 1
- fi
- fi
- =================================================
- Timeshift & Timeshift-autosnap Setup (need yay)
- =================================================
- yay -S timeshift timeshift-autosnap
- Gnome-Terminal Themes
- ======================
- bash -c "$(wget -qO- https://git.io/vQgMr)"
Add Comment
Please, Sign In to add comment