From d4989c7d9f4f129f2a868ff355f75a6a99972d68 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Fri, 25 Oct 2024 01:01:46 +0200 Subject: Added provision function --- shenanigans.sh | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/shenanigans.sh b/shenanigans.sh index c79ac71..545fc75 100755 --- a/shenanigans.sh +++ b/shenanigans.sh @@ -1,7 +1,3 @@ -# Software list: -# cifs-utils tree hstr s3cmd xclip mc gnupg ripgrep jq busybox -# xmlstarlet htop nvtop tmux vim ctags picom scrot xsetroot - # Magical environment variables. NIX_SHELL_PRESERVE_PROMPT=1 TERM=xterm-256color @@ -59,6 +55,17 @@ bind '"\e[B": history-search-forward' export HSTR_CONFIG=hicolor if [[ $- =~ .i. ]]; then bind '"\C-h": "\C-a hstr -- \C-j"'; fi +# Machine provision script for essential software. +# This is meant to be used on Debian 11+. +provision() { + doas apt install \ + build-essential git gcc make busybox cifs-utils tree hstr s3cmd \ + xmlstarlet htop nvtop tmux picom scrot xclip mc ripgrep jq \ + rsync doas newsboat entr clang clang-tidy clang-tools \ + libx11-dev libxinerama-dev libxft-dev x11-xserver-utils \ + podman podman-compose +} + # Backup to NAS function. Much wow! backup() { CWD=$(pwd) -- cgit v1.2.3