summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xarchsetup140
1 files changed, 70 insertions, 70 deletions
diff --git a/archsetup b/archsetup
index 00e5fe3..2a6cf65 100755
--- a/archsetup
+++ b/archsetup
@@ -376,11 +376,11 @@ essential_services() {
action="configuring ufw to deny by default" && display "task" "$action"
ufw default deny incoming >> "$logfile" 2>&1 || error "error" "$action"
- # note on the protocols
- # "80,443,8080/tcp" # http and https traffic
- # "9040,9050,9051,9053,9119/tcp" # tor network
- # "55353/udp" # DNS
- # "22000/tcp" "22000/udp" "21027/udp" # syncthing
+ # note on the numbered protocols
+ # "80,443,8080/tcp" ## http and https traffic
+ # "9040,9050,9051,9053,9119/tcp" ## tor network
+ # "55353/udp" ## DNS
+ # "22000/tcp" "22000/udp" "21027/udp" ## syncthing
for protocol in \
"80,443,8080/tcp" \
@@ -408,8 +408,9 @@ essential_services() {
# Service Discovery
- display "subtitle" "Network Service Discovery"
- pacman_install avahi
+ display "subtitle" "Network Service Discovery"
+ pacman_install nss-mdns # GNU Name Service Switch host name resolution
+ pacman_install avahi # service discovery on a local network using mdns
action="configuring avahi" && display "task" "$action"
systemctl disable systemd-resolved.service >> "$logfile" 2>&1 || error "error" "$action" "$?"
@@ -466,16 +467,20 @@ dwm() {
desktop_environment() {
display "title" "Desktop Environment"
- # Core Fonts
+ # Fonts
+
+ action="Fonts" && display "subtitle" "$action"
+ pacman_install noto-fonts-emoji
+ pacman_install ttf-firacode-nerd
+ pacman_install ttf-hack-nerd
+ pacman_install ttf-jetbrains-mono-nerd
+ pacman_install ttf-meslo-nerd
+ pacman_install ttf-nerd-fonts-symbols-mono
+ aur_install ttf-all-the-icons
+ aur_install ttf-lato
+ aur_install ttf-ms-fonts
+ aur_install ttf-ubraille
- action="Core Fonts" && display "subtitle" "$action"
- pacman_install ttf-firacode-nerd
- pacman_install ttf-hack-nerd
- pacman_install ttf-nerd-fonts-symbols-mono
- pacman_install noto-fonts-emoji
- aur_install ttf-all-the-icons
- aur_install ttf-ms-fonts
- aur_install ttf-ubraille
# System Utilities
@@ -555,19 +560,17 @@ desktop_environment() {
pacman_install "$software"
done;
- for software in lf-git task-spooler speedtest-go gotop-bin rar; do
+ for software in task-spooler speedtest-go gotop-bin rar; do
aur_install "$software"
done;
# Help And Documentation
- action="Help and Documentation" && display "subtitle" "$action"
- for software in man arch-wiki-docs arch-wiki-lite; do
- pacman_install $software
- done;
-
- aur_install cht.sh-git
- pacman_install tealdeer
+ action="Help and Documentation" && display "subtitle" "$action"
+ pacman_install man
+ pacman_install arch-wiki-docs
+ pacman_install tealdeer
+ aur_install cht.sh-git
# Sync Services
@@ -580,15 +583,14 @@ desktop_environment() {
action="Desktop Environment Utilities" && display "subtitle" "$action"
- for software in brightnessctl xautolock network-manager-applet xclip bc \
+ for software in brightnessctl xautolock network-manager-applet xclip \
conky nitrogen qalculate-gtk; do
pacman_install $software
done;
aur_install python-pulsectl
aur_install caffeine-ng
- aur_install alarm-clock-applet
- aur_install colorpicker
+ aur_install colorpicker
# Theme and Cursor
@@ -607,18 +609,22 @@ desktop_environment() {
action="Browsers" && display "subtitle" "$action"
pacman_install firefox
- aur_install librewolf-bin
+ ## TESTING IF NEEDED aur_install librewolf-bin
aur_install tor-browser-bin
aur_install google-chrome-stable
# Install Printing
action="Print System" && display "subtitle" "$action"
- for software in cups cups-pdf foomatic-db-engine foomatic-db-ppds foomatic-db-nonfree-ppds \
- gutenprint foomatic-db-gutenprint-ppds nss-mdns; do
- pacman_install "$software"
- done
- action="enabling printing service to launch at boot" && display "task" "$action"
+ pacman_install cups # the printing service
+ pacman_install cups-pdf # allows printing to pdf
+ pacman_install foomatic-db-engine # generates printer drivers, queues, and jobs
+ pacman_install foomatic-db-ppds # printer driver descriptions
+ pacman_install foomatic-db-nonfree-ppds # non-free printer driver descriptions
+ pacman_install gutenprint # printer driver engine for older computers
+ pacman_install foomatic-db-gutenprint-ppds # gutenprint prebuilt ppd files
+
+ action="enabling printing service to launch at boot" && display "task" "$action"
(systemctl enable cups.service >> "$logfile" 2>&1) || error "error" "$action" "$?"
}
@@ -642,7 +648,7 @@ developer_workstation () {
# Lisps
pacman_install guile # GNU Scheme
pacman_install sbcl # Steel Bank Common Lisp
- pacman_install racket # (also for SICP)
+ pacman_install racket # also better SICP mit-scheme emulation
# Rust
pacman_install rust # Rust programming language
@@ -661,10 +667,11 @@ developer_workstation () {
pacman_install staticcheck # Go programming language linter
# Typescript
- pacman_install typescript # Typescript programming language
- pacman_install npm # Node-js package manager
- aur_install nvm # Node-js version manager
- pacman_install jq # JSON processor
+ pacman_install jq # JSON processor
+ pacman_install typescript # Typescript programming language
+ pacman_install nodejs # Node-js JavaScript runtime environment
+ pacman_install npm # Node-js package manager
+ aur_install nvm # Node-js version manager
# HTML
pacman_install tidy # HTML formatter
@@ -684,8 +691,8 @@ developer_workstation () {
# ignoring; build from source instead
# supporting utilities used by my emacs configuration
- aur_install exercism-bin # command line tool for exercism.io
- aur_install isync # email sync
+ aur_install exercism-bin # command line tool for exercism.io
+ # TESTING IF NEEDED aur_install isync # email sync
aur_install mu # email indexer and utilities
aur_install multimarkdown # markdown conversion
aur_install proselint # grammar checker
@@ -716,24 +723,26 @@ developer_workstation () {
action="DevOps Utilities" && display "subtitle" "$action"
- action="installing devops virtualization and automation tools" && display "task" "$action"
- # ensure headers exist first
- pacman_install linux-headers >> "$logfile" 2>&1 || error "error" "$action" "$?"
- pacman_install linux-lts-headers >> "$logfile" 2>&1 || error "error" "$action" "$?"
-
- pacman_install virtualbox >> "$logfile" 2>&1 || error "error" "$action" "$?"
- pacman_install virtualbox-guest-iso >> "$logfile" 2>&1 || error "error" "$action" "$?"
- pacman_install virtualbox-host-dkms >> "$logfile" 2>&1 || error "error" "$action" "$?"
- action="adding user to vboxusers group" && display "task" "$action"
- (gpasswd -a $username vboxusers >> "$logfile" 2>&1) || error "error" "$action" "$?"
- pacman_install docker
- pacman_install docker-compose
- action="adding user to docker group" && display "task" "$action"
- (gpasswd -a $username docker >> "$logfile" 2>&1) || error "error" "$action" "$?"
- action="enabling docker service to launch on boot" && display "task" "$action"
- systemctl enable docker.service >> "$logfile" 2>&1 || error "error" "$action" "$?"
- pacman_install vagrant >> "$logfile" 2>&1 || error "error" "$action" "$?"
- pacman_install ansible >> "$logfile" 2>&1 || error "error" "$action" "$?"
+ action="installing devops virtualization and automation tools" && display "task" "$action"
+ pacman_install vagrant
+ pacman_install ansible
+
+ # ensure headers exist before installing virtualbox*dkms
+ pacman_install linux-headers
+ pacman_install linux-lts-headers
+
+ pacman_install virtualbox
+ pacman_install virtualbox-guest-iso
+ pacman_install virtualbox-host-dkms
+
+ action="adding user to vboxusers group" && display "task" "$action"
+ (gpasswd -a $username vboxusers >> "$logfile" 2>&1) || error "error" "$action" "$?"
+ pacman_install docker
+ pacman_install docker-compose
+ action="adding user to docker group" && display "task" "$action"
+ (gpasswd -a $username docker >> "$logfile" 2>&1) || error "error" "$action" "$?"
+ action="enabling docker service to launch on boot" && display "task" "$action"
+ systemctl enable docker.service >> "$logfile" 2>&1 || error "error" "$action" "$?"
}
### Supplemental Software
@@ -774,7 +783,7 @@ supplemental_software() {
pacman_install mpd # the music player daemon
pacman_install ncmpcpp # and mpd client to play music
pacman_install neofetch # cli system information tool
- pacman_install obs-studio # desktop recording software
+ ### TESTING IF NEEDED pacman_install obs-studio # desktop recording software
pacman_install odt2txt # converts from open document to text
pacman_install p7zip # p7zip compression tool
pacman_install pandoc # universal document converter
@@ -807,25 +816,16 @@ supplemental_software() {
aur_install hfsprogs # file system tools for Mac OS
aur_install mcomix # image viewer for comic books
aur_install nsxiv # image viewer
- aur_install picom-jonaburg-git # xorg compositor with enhancements
+ ## TESTING IF NEEDED aur_install picom-jonaburg-git # xorg compositor with enhancements
aur_install shell-gpt # gpt in your terminal
aur_install tageditor # metadata editor for mkv, webm and related video files
aur_install tidal-dl # tidal-dl:tidal as yt-dlp:youtube
- aur_install tremc # curses interface for transmission
+ ## TESTING IF NEEDED aur_install tremc # curses interface for transmission
aur_install zsh-fast-syntax-highlighting-git # Optimized and extended zsh-syntax-highlighting
# git installs
git_install https://github.com/clamiax/snore.git # sleep with feedback
- # some nice fonts
- aur_install ttf-lato
- pacman_install ttf-crimson-pro
- pacman_install ttf-crimson-pro-variable
- pacman_install ttf-go-nerd
- pacman_install ttf-jetbrains-mono-nerd
- pacman_install ttf-meslo-nerd
- pacman_install ttf-sourcecodepro-nerd
-
}
### Boot-Related