1
0
Fork 0
arch-install/scripts/install-packages.sh

93 lines
3.8 KiB
Bash
Raw Normal View History

2022-11-20 16:57:35 +05:30
#!/usr/bin/env bash
2023-01-16 05:40:29 +05:30
# force update pacman db
2022-11-20 16:57:35 +05:30
pacman --sync --refresh --refresh
2023-01-16 05:40:29 +05:30
################################################################################
# SELECT PACKAGES TO BE INSTALLED
################################################################################
2022-11-20 16:57:35 +05:30
# absolutely necessary for _MY_ experience
2023-03-10 19:43:44 +05:30
PKGS_TO_INSTALL=(base bash bind cronie curl dash dhcpcd efibootmgr findutils iputils keepassxc ksh less libdrm linux linux-firmware linux-lts lsb-release lsof man man-db man-pages nano neovim networkmanager opendoas openssh openssl os-prober pacman-contrib reflector rsync tmux wireguard-tools zsh zsh-autosuggestions zsh-completions zsh-syntax-highlighting)
2022-11-20 16:57:35 +05:30
# power management
2023-02-11 11:18:20 +05:30
PKGS_TO_INSTALL+=(acpi_call lm_sensors xfce4-power-manager)
2022-11-20 16:57:35 +05:30
2022-12-18 12:58:00 +05:30
# firewall
PKGS_TO_INSTALL+=(firewalld)
2022-11-20 16:57:35 +05:30
# add-on
2023-03-11 12:28:02 +05:30
PKGS_TO_INSTALL+=(dpkg ffmpeg flatpak imagemagick light mediainfo)
2022-11-20 16:57:35 +05:30
# monitoring
2023-02-22 15:55:52 +05:30
PKGS_TO_INSTALL+=(bandwhich btop htop inxi iotop iperf iperf3 nload)
2022-11-20 16:57:35 +05:30
# containersation stuff
#PKGS_TO_INSTALL+=(aardvark-dns bridge-utils fuse-overlayfs podman podman-compose podman-dnsname slirp4netns)
# download clients
PKGS_TO_INSTALL+=(aria2 wget yt-dlp)
# android-stuff
PKGS_TO_INSTALL+=(android-tools)
# *utils-rust
2023-01-22 14:31:21 +05:30
PKGS_TO_INSTALL+=(bat choose dog dua-cli dust exa fd hyperfine procs ripgrep skim tealdeer tre tree)
2022-11-20 16:57:35 +05:30
# system utilities
PKGS_TO_INSTALL+=(cloud-guest-utils dmidecode hdparm mlocate smartmontools usbutils wol)
2022-11-20 16:57:35 +05:30
# compression
PKGS_TO_INSTALL+=(tar unrar unzip xz zip)
# software devel
PKGS_TO_INSTALL+=(ansible-language-server bash-language-server cargo-audit cargo-auditable cargo-bloat cargo-depgraph cargo-outdated cargo-spellcheck cargo-update cargo-watch clang lazygit lldb lua-language-server picocom python-lsp-server rustup yaml-language-server)
# cross compilation
PKGS_TO_INSTALL+=(aarch64-linux-gnu-gcc riscv64-elf-gcc riscv64-linux-gnu-gcc)
2022-11-20 16:57:35 +05:30
# kernel devel
2023-01-16 19:38:43 +05:30
PKGS_TO_INSTALL+=(base-devel bc cpio gcc git inetutils kmod libelf linux-headers linux-lts-headers make perl tar xmlto xz)
2022-11-20 16:57:35 +05:30
# virtualisation
2023-02-25 16:33:11 +05:30
PKGS_TO_INSTALL+=(dnsmasq guestfs-tools libvirt qemu-desktop virt-manager)
2022-11-20 16:57:35 +05:30
2023-06-04 17:30:40 +05:30
# remote management
PKGS_TO_INSTALL+=(ansible)
2022-11-20 16:57:35 +05:30
# network filesystems
PKGS_TO_INSTALL+=(avahi cifs-utils nfs-utils)
#PKGS_TO_INSTALL+=(gvfs-smb samba smbclient)
2022-11-20 16:57:35 +05:30
# GPU
#PKGS_TO_INSTALL+=(mesa qemu-hw-display-virtio-gpu qemu-hw-display-virtio-gpu-gl qemu-hw-display-virtio-gpu-pci qemu-hw-display-virtio-gpu-pci-gl xf86-video-qxl)
2022-11-20 16:57:35 +05:30
#PKGS_TO_INSTALL+=(libva-mesa-driver mesa radeontop vulkan-radeon)
#PKGS_TO_INSTALL+=(intel-media-driver libva-intel-driver mesa vulkan-intel)
#PKGS_TO_INSTALL+=(nvidia-dkms nvidia-settings nvidia-utils) #nvidia-open-dkms
2022-11-20 16:57:35 +05:30
# display server (Wayland)
#PKGS_TO_INSTALL+=(libdrm wayland)
2022-11-20 16:57:35 +05:30
# display server (xorg)
2023-02-07 22:36:11 +05:30
PKGS_TO_INSTALL+=(libdrm libva-mesa-driver xf86-input-libinput xf86-input-synaptics xorg xorg-fonts-encodings xorg-fonts-misc xorg-server xorg-xauth xorg-xbacklight xorg-xdpyinfo xorg-xinit xorg-xkbutils xorg-xprop xorg-xrandr xorg-xsetroot xsecurelock xsel xclip)
#PKGS_TO_INSTALL+=(intel-media-driver libva-intel-driver vulkan-intel)
#PKGS_TO_INSTALL+=(radeontop vulkan-radeon xf86-video-amdgpu)
# bspwm (X11 for now because NVIDIA)
PKGS_TO_INSTALL+=(bspwm dunst feh i3lock jq lxsession picom polybar rofi sddm socat sxhkd wmctrl xdg-desktop-portal-gtk)
2022-11-20 16:57:35 +05:30
# GUI packages
PKGS_TO_INSTALL+=(alacritty bitwarden firefox gnome-disk-utility mpv neovide otf-overpass pavucontrol slurp thunar ttf-sourcecodepro-nerd)
2022-11-20 16:57:35 +05:30
# sound (pipewire)
2023-01-16 05:53:26 +05:30
PKGS_TO_INSTALL+=(pamixer pipewire pipewire-pulse wireplumber)
2022-11-20 16:57:35 +05:30
#PKGS_TO_INSTALL+=(alsa-firmware alsa-lib alsa-utils gst-plugins-good gstreamer libao libcanberra-gstreamer libcanberra-pulse pulseaudio pulseaudio-alsa)
# install x86 microcode
if [[ "$1" == "amd" ]]; then
PKGS_TO_INSTALL+=(amd-ucode)
elif [[ "$1" == "intel" ]]; then
PKGS_TO_INSTALL+=(intel-ucode)
fi
pacstrap -K /mnt "${PKGS_TO_INSTALL[@]}"