cleanup bootstrap/split out desktop
This commit is contained in:
parent
6a8a7f8baa
commit
a6dcb43c60
2 changed files with 42 additions and 21 deletions
48
bootstrap.sh
48
bootstrap.sh
|
@ -1,50 +1,56 @@
|
|||
#!/bin/bash
|
||||
GO_VERSION=1.23
|
||||
NVIM_VERSION=0.10.2
|
||||
NERDFONTS_VERSION=3.3.0
|
||||
SOPS_VERSION=3.9.2
|
||||
|
||||
# install packages
|
||||
sudo apt install \
|
||||
age \
|
||||
apt-transport-https \
|
||||
curl \
|
||||
fd-find \
|
||||
firefox \
|
||||
fontconfig \
|
||||
golang-1.22 \
|
||||
golang-${GO_VERSION} \
|
||||
gpg \
|
||||
htop \
|
||||
imv \
|
||||
inxi \
|
||||
jq \
|
||||
kitty \
|
||||
luarocks \
|
||||
mpv \
|
||||
ncdu \
|
||||
neovim \
|
||||
pipewire-alsa \
|
||||
pipewire-audio \
|
||||
pipewire-pulse sudo \
|
||||
python3-neovim \
|
||||
python3-pynvim \
|
||||
ripgrep \
|
||||
sway \
|
||||
swaylock \
|
||||
tmux \
|
||||
unzip \
|
||||
waybar \
|
||||
wget \
|
||||
wireplumber \
|
||||
wl-clipboard \
|
||||
yq
|
||||
|
||||
# install golang to path
|
||||
sudo update-alternatives --install /usr/bin/go go /usr/lib/go-${GO_VERSION}/bin/go 100 \
|
||||
--slave /usr/bin/gofmt gofmt /usr/lib/go-${GO_VERSION}/bin/gofmt 100
|
||||
|
||||
# set up nerd fonts
|
||||
FONT_DIR=${HOME}/.local/share/fonts/
|
||||
mkdir -p ${FONT_DIR}
|
||||
wget -qO- https://github.com/ryanoasis/nerd-fonts/releases/download/v3.3.0/DejaVuSansMono.tar.xz | tar -Jxv -C ${FONT_DIR}
|
||||
wget -qO- https://github.com/ryanoasis/nerd-fonts/releases/download/v${NERDFONTS_VERSION}/DejaVuSansMono.tar.xz | tar -Jxv -C ${FONT_DIR}
|
||||
fc-cache -fv
|
||||
|
||||
# install lazygit
|
||||
/usr/lib/go-1.23/bin/go install github.com/jesseduffield/lazygit@latest
|
||||
# install neovim
|
||||
curl -LO https://github.com/neovim/neovim/releases/download/v${NVIM_VERSION}/nvim-linux64.tar.gz
|
||||
sudo rm -rf /opt/nvim
|
||||
sudo tar -C /opt -xzf nvim-linux64.tar.gz
|
||||
rm nvim-linux64.tar.gz
|
||||
|
||||
# setup moolticute
|
||||
echo 'deb http://download.opensuse.org/repositories/home:/fawz:/mooltipass/Debian_Testing/ /' | sudo tee /etc/apt/sources.list.d/home:fawz:mooltipass.list
|
||||
curl -fsSL https://download.opensuse.org/repositories/home:fawz:mooltipass/Debian_Testing/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_fawz_mooltipass.gpg >/dev/null
|
||||
sudo apt update
|
||||
sudo apt install qtwayland5 moolticute
|
||||
# install neovim to path
|
||||
sudo update-alternatives --install /usr/bin/nvim nvim /opt/nvim-linux64/bin/nvim 100
|
||||
sudo update-alternatives --install /usr/bin/vim vim /opt/nvim-linux64/bin/nvim 100
|
||||
|
||||
# install lazygit
|
||||
go install github.com/jesseduffield/lazygit@latest
|
||||
|
||||
# install sops
|
||||
wget https://github.com/getsops/sops/releases/download/v${SOPS_VERSION}/sops_${SOPS_VERSION}_amd64.deb
|
||||
sudo apt install ./sops_${SOPS_VERSION}_amd64.deb
|
||||
rm ./sops_${SOPS_VERSION}_amd64.deb
|
||||
|
|
15
desktop.sh
Executable file
15
desktop.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
# install packages
|
||||
sudo apt install \
|
||||
firefox \
|
||||
imv \
|
||||
mpv \
|
||||
pipewire-alsa \
|
||||
pipewire-audio \
|
||||
pipewire-pulse sudo \
|
||||
sway \
|
||||
swaylock \
|
||||
waybar \
|
||||
wireplumber \
|
||||
wl-clipboard
|
Loading…
Reference in a new issue