fix: added missing dotfiles and removed unnecessary files/packages

This commit is contained in:
2026-07-30 22:53:44 +02:00
parent 73fe6b87a9
commit 9d260af0c6
59 changed files with 3565 additions and 185 deletions
+19 -9
View File
@@ -5,6 +5,7 @@
set -euo pipefail
SYS="$(chezmoi data --format=json 2>/dev/null | jq -r '.system // "desktop"')"
GAMING="$(chezmoi data --format=json 2>/dev/null | jq -r '.gaming // "false"')"
DISTRO_ID="$(chezmoi data --format=json 2>/dev/null | jq -r '.chezmoi.osRelease.id // empty')"
if [ "$SYS" = "server" ]; then
@@ -15,26 +16,35 @@ fi
case "$DISTRO_ID" in
arch)
echo ">>> [apps] arch, system=$SYS"
# Repo packages
sudo pacman -S --noconfirm --needed \
# System packages
echo ">>> [apps] installing packages"
sudo pacman -Syu --noconfirm --needed \
libreoffice-fresh nextcloud-client \
gvfs gvfs-mtp gvfs-smb thunar tumbler \
mpv nvtop pavucontrol thunderbird firefox yt-dlp
mpv nvtop pavucontrol thunderbird firefox yt-dlp \
feishin
# AUR packages
yay -S --noconfirm --needed \
appimagelauncher feishin-appimage \
vscodium-bin obsidian brave-bin
echo ">>> [apps] installing AUR packages"
yay -Sy --noconfirm --needed \
appimagelauncher rustdesk vesktop-git
# Gaming packages
if [ "$GAMING" = "true" ]; then
echo ">>> [apps] installing gaming packages"
sudo pacman -Syu --noconfirm --needed \
steam
yay -Sy --noconfirm --needed \
heroic-games-launcher-bin
fi
;;
ubuntu)
echo ">>> [apps] ubuntu, system=$SYS"
sudo apt-get install -y \
libreoffice nextcloud-desktop \
mpv nvtop pavucontrol thunderbird firefox yt-dlp
echo ">>> [apps] TODO: install via Flatpak/Snap — feishin, ..."
;;