#!/bin/bash # Initial update sudo pacman -Syu # Base system sudo pacman -S --needed git patch gnome-keyring reflector os-prober openssh sshfs nfs-utils # Base CLI tools sudo pacman -S --needed nano htop powertop sysstat neofetch w3m s-tui progress udisks2 detox lm_sensors tmux memtester # Network sudo pacman -S --needed networkmanager dhclient openvpn networkmanager-openvpn net-tools nmap speedtest-cli tcpdump # Build tools sudo pacman -S --needed base-devel hwloc openssl cmake libmicrohttpd numactl msr-tools arm-none-eabi-gcc # File Sytem tools #sudo pacman -S --needed squashfs-tools f2fs-tools dosfstools mstools hdparm nnn # Coreboot #sudo pacman -S --needed python gcc-ada flex bison ncurses wget zlib acpica # Base WM sudo pacman -S --needed nitrogen gtk-chtheme picom lxterminal lxappearance stalonetray xorg-xrandr xorg-xsetroot libxft imlib2 gparted terminator xarchiver grub-customizer geany # AMD video driver #sudo pacman -S --needed xf86-video-amdgpu #Intel video driver #sudo pacman -S --needed xf86-video-intel # Web sudo pacman -S --needed firefox transmission-gtk # Web expanded #sudo pacman -S --needed thunderbird chromium nextcloud-client transmission-remote-gtk tor jdk-openjdk # Media sudo pacman -S --needed lame mpv pragha gthumb scrot # Media expanded #sudo pacman -S --needed vlc cmus soundconverter pavucontrol pulseeffects ncmpcpp mediainfo-gui #3D Print #sudo pacman -S --needed prusa-slicer freecad # Audio #sudo pacman -S --needed audacity ardour lmms rosegarden mixxx # Fonts sudo pacman -S --needed ttf-hack ttf-joypixels ttf-sourcecodepro-nerd ttf-bitstream-vera ttf-dejavu powerline-fonts # Gnome tools #sudo pacman -S --needed gnome-tweaks gnome-tweak-tool dconf-editor chrome-gnome-shell gnome-multi-writer # Wii #sudo pacman -S --needed wit #yay -S --needed wiibafu customizemii # Laptop #sudo pacman -S --needed tlp # RDP #sudo pacman -S --needed remmina freerdp # Virtualization #KVM/QEMU sudo pacman -S --needed libvirt qemu virt-manager dnsmasq sudo usermod -a -G libvirt,kvm $USER #VirtualBox #sudo pacman -S --needed virtualbox virtualbox-host-modules-arch virtualbox-guest-iso virtualbox-guest-utils #sudo modprobe vboxdrv # Other tools sudo pacman -S --needed android-tools # Backup #sudo pacman -S --needed timeshift # Fix DHCP on NetworkManager sudo echo "[main]" >> /etc/NetworkManager/conf.d/dhcp-client.conf sudo echo "dhcp=dhclient" >> /etc/NetworkManager/conf.d/dhcp-client.conf # Setup systemd-timesyncd sudo echo "NTP=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org" >> /etc/systemd/timesyncd.conf sudo echo "FallbackNTP=0.pool.ntp.org 1.pool.ntp.org 0.fr.pool.ntp.org" >> /etc/systemd/timesyncd.conf sudo timedatectl set-ntp true sudo hwclock --systohc # Fix GRUB OS-prober sudo echo "GRUB_DISABLE_OS_PROBER=false" >> /etc/default/grub # Detect additional kernels sudo grub-mkconfig -o /boot/grub/grub.cfg # Install Yay #git clone https://aur.archlinux.org/yay.git #cd yay #makepkg -si # AUR Update #yay -Syu # AUR utilities yay -S --needed spacefm downgrade xrestop # AUR Software #yay -S --needed inxi tor-browser imagewriter usbimager #AUR Software expanded #yay -S --needed teamviewer wireshark-git cli-visualizer #AUR printers #yay -S --needed cnijfilter2 scangearmp2 ufrii-print #AUR AMDGPU-PRO OpenCL drivers #yay -S --needed opencl-amd-polaris # AUR Fonts (deprecated) #yay -S --needed nerd-fonts-source-code-pro libxft-bgra-git #yay -S --needed nerd-fonts-liberation-mono lexend-fonts-git ttf-fixedsys-excelsior-linux nerd-fonts-profont-windows # AUR laptop #yay -S --needed thinkfan # Add $USER to necessary groups sudo usermod -a -G video,lp,lpadmin $USER # Disable GDM Auto-Suspend (Gnome) When no User is logged in #sudo -u gdm dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing' # Fix Gnome Minimize/Maximize buttons #gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close' #Enable fstrim sudo systemctl enable fstrim.timer sudo systemctl start fstrim.timer # Poly Dark GRUB theme #wget -O - https://github.com/shvchk/poly-dark/raw/master/install.sh | bash # nanorc curl https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh | sh -l