fix: added missing dotfiles and removed unnecessary files/packages
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
# run_once_10-install-base.sh
|
||||
# Installs base and some programming packages
|
||||
# Installs base packages
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@@ -10,24 +10,21 @@ DISTRO_ID="$(chezmoi data --format=json 2>/dev/null | jq -r '.chezmoi.osRelease.
|
||||
case "$DISTRO_ID" in
|
||||
arch)
|
||||
echo ">>> [base] arch, system=$SYS"
|
||||
|
||||
sudo pacman -Syu --noconfirm
|
||||
|
||||
sudo pacman -S --noconfirm --needed \
|
||||
networkmanager networkmanager-openvpn wireguard-tools fastfetch \
|
||||
sudo pacman -Syu --noconfirm --needed \
|
||||
networkmanager-openvpn wireguard-tools base-devel \
|
||||
inotify-tools libqalculate cifs-utils reflector os-prober ntfs-3g \
|
||||
openssh upower expac unzip less curl wget gawk zip tar \
|
||||
eza bat fzf fd jq go
|
||||
btop fastfetch yazi eza bat fzf fd jq go npm python-pipx
|
||||
|
||||
if [ "$SYS" != "server" ]; then
|
||||
sudo pacman -S --noconfirm --needed \
|
||||
jdk-openjdk maven rustup npm
|
||||
sudo pacman -Syu --noconfirm --needed \
|
||||
dbeaver mariadb \
|
||||
jdk-openjdk maven rustup
|
||||
rustup default stable >/dev/null 2>&1 || true
|
||||
fi
|
||||
|
||||
# AUR helper
|
||||
if ! command -v yay >/dev/null 2>&1; then
|
||||
sudo pacman -S --noconfirm --needed base-devel
|
||||
tmp=$(mktemp -d)
|
||||
git clone https://aur.archlinux.org/yay.git "$tmp"
|
||||
( cd "$tmp" && makepkg -si --noconfirm )
|
||||
|
||||
Reference in New Issue
Block a user