Skip to content

Commit

Permalink
add installed programs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeguzis committed Jun 17, 2024
1 parent 4d7de51 commit 826fede
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 12 deletions.
44 changes: 34 additions & 10 deletions utilities/install-software.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,54 @@ fi
sudo pacman -Sy

# https://github.com/Jguer/yay
# SteamOS may lag a little behind with required deps (e.g. pacman), so manually
# update the tag as needed.
# Use yay-bin for the least amount of headaches...
echo "[INFO] Installing 'yay' for user repository packages"
sudo pacman -S --noconfirm --needed git base-devel
cd ~/src
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
cd "${CURDIR}"
if [[ ! -f "/usr/bin/yay" ]]; then
git clone https://aur.archlinux.org/yay-bin.git "${HOME}/src/yay-bin"
git -C "${HOME}/src/yay-bin" checkout "96f90180a3cf72673b1769c23e2c74edb0293a9f"
cd "${HOME}/src/yay-bin"
makepkg -si
cd "${CURDIR}"
fi

echo "[INFO] Installing supplemental software to OS"

# Arch packages that do not have Flatpaks
sudo pacman -S --noconfirm --needed \
libnatpmp \
libb64 \
nodejs \
npm \
transmission-cli

# Flatpaks
flatpak install --user --noninteractive flathub io.github.philipk.boilr

# For Decky Loader dev
echo -e "\n[INFO] Installing 'pnpm' for Decky Loader dev"
sleep 2
curl -fsSL https://get.pnpm.io/install.sh | sh -

# Manage App Images
echo -e "\n[INFO] Installing 'zap' to manager AppImages"
sleep 2
curl https://raw.githubusercontent.com/srevinsaju/zap/main/install.sh | bash -s

echo -e "\n[INFO] Installing AppImages via Zap"
sleep 2
zap install --github --from Tormak9970/Steam-Art-Manager


# Transmission
sudo pacman -Sy transmission-cli libnatpmp libb64
sudo systemctl enable transmission.service
sudo mkdir /etc/systemd/system/transmission.service.d
sudo mkdir -p /etc/systemd/system/transmission.service.d
sudo bash -c "echo -e \"[Service]\nUser=${USER}\" > /etc/systemd/system/transmission.service.d/username.conf"
sudo systemctl stop transmission.service
# Update config and start service
read -erp "Opening ~/.config/transmission-daemon/settings.json. Please update rpc username/password..."
vim "~/.config/transmission-daemon/settings.json"
sudo systemctl start transmission.service

# https://github.com/Tormak9970/Steam-Art-Manager
# TODO - make this dynamic for any app images...

4 changes: 2 additions & 2 deletions utilities/unlock-steam-deck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ sudo steamos-readonly disable

echo "[INFO] Adding/updating Arch Linux keyrings"
sudo pacman-key --init
sudo pacman-key --populate archlinux
sudo pacman-key --populate holo

echo "[INFO] Updating repository index"
sudo pacman -Syy

echo "[INFO] Installing basic devtools"
sudo pacman -S --noconfirm base-devel
sudo pacman -S --noconfirm base-devel

0 comments on commit 826fede

Please sign in to comment.