Introduction
Introduction Statistics Contact Development Disclaimer Help
Updating to reflect current setup. - bootstrap - Bootstrap script for my alpine…
Log
Files
Refs
README
---
commit d08ab3fb740330873906a15ed8a49dfadf75bd8d
parent 8a619cdf37cd3d9beb33150630309ac718c9878e
Author: Jay Scott <[email protected]>
Date: Fri, 9 Feb 2024 08:30:10 +0000
Updating to reflect current setup.
Diffstat:
M install.sh | 51 +++--------------------------…
1 file changed, 5 insertions(+), 46 deletions(-)
---
diff --git a/install.sh b/install.sh
@@ -2,8 +2,6 @@
# bootstrap for alpine linux
user="jay"
-src="/home/$user/src"
-dots="https://git.sr.ht/~jayscott/dotfiles"
echo "── enable community repo"
sed -i '/v3\..*\/community/s/^#//g' /etc/apk/repositories
@@ -13,37 +11,25 @@ apk update
apk upgrade -a
echo "── installing cli essentials"
-apk add alpine-sdk curl doas wget git git-email vim tar zip gzip p7zip bzip2 \
+apk add curl doas wget git git-email neovim tar zip gzip p7zip bzip2 \
rsync less build-base gnupg-dirmngr
echo "── installing wayland"
apk add wl-clipboard mesa-dri-gallium mesa-va-gallium eudev font-hack seatd \
- sway foot bemenu xwayland linux-firmware-amdgpu
+ sway foot bemenu xwayland linux-firmware-amdgpu waybar
setup-devd udev
echo "── installing tools"
apk add shfmt shellcheck openssh amfora yt-dlp pass fzf mpv zathura \
- qutebrowser firefox mutt newsraft lf docker docker-compose
+ qutebrowser firefox neomutt newsraft lf swayimg
echo "── installing audio"
apk add pipewire-pulse pamixer dbus dbus-openrc pipewire wireplumber \
rtkit pipewire-alsa
-#echo "── installing documentation"
-#apk add mandoc mandoc-apropos man-pages docs
-
-echo "── setup abuild environment"
-if [ ! -d /var/cache/disfiles ]; then
- mkdir -p /var/cache/distfiles
- chmod a+w /var/cache/distfiles
- chgrp abuild /var/cache/distfiles
- chmod g+w /var/cache/distfiles
-fi
-
-if [ ! -d "/home/$user" ]; then
- echo "── creating user $user"
- adduser "$user"
+if [ -d "/home/$user" ]; then
+ echo "── adding user $user groups"
adduser "$user" audio
adduser "$user" abuild
adduser "$user" wheel
@@ -52,35 +38,8 @@ if [ ! -d "/home/$user" ]; then
adduser "$user" seat
adduser "$user" rtkit
mkdir "/home/$user/.config"
- mkdir "$src"
-
- git clone "$dots" $src/dotfiles
- cd $src/dotfiles && sh $user -c ./bootstrap.sh link
fi
-if [ ! -e /usr/local/bin/senpai ]; then
- echo "── build and install senpai"
- apk add go scdoc
- git clone https://git.sr.ht/~taiite/senpai $src/senpai
- cd $src/senpai || exit
- make
- make install
-fi
-
-if [ ! -e /usr/local/bin/castget ]; then
- echo "── build and install castget"
- src=/home/$user/src/castget
- apk add glib-dev libxml2-dev curl-dev
- git clone https://github.com/mlj/castget.git $src/castget
- cd $src/castget || exit
- autoreconf -fi
- ./configure --without-taglib
- make
- make install
-fi
-
-chown -R $user:$user $src
-
echo "── starting services"
rc-update add seatd
rc-service seatd start
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.