Add NFS client packages (nfs-common on Debian, nfs-utils on Alpine)

Needed for NFS mounts. Included in the best-effort CLI tools list so a
missing/conflicting package never aborts the bootstrap. README + header
updated.
This commit is contained in:
2026-07-20 09:30:55 -03:00
parent a78ce3591a
commit 69ca75e528
2 changed files with 7 additions and 4 deletions

View File

@@ -54,7 +54,9 @@ git clone git@git.ivanch.me:ivanch/dotfiles.git /tmp/dotfiles && \
The installer:
1. Detects the OS / package manager (`apt` on Debian, `apk` on Alpine) and
installs `git curl zsh vim` plus `htop` and `fzf`.
installs `git curl wget zsh vim`, plus CLI tools `htop`, `fzf`, `nslookup`
(dnsutils/bind-tools) and the NFS client (`nfs-common`/`nfs-utils` for
NFS mounts). `kubectl` is installed if available in the repos.
2. Installs oh-my-zsh (unattended) + the `zsh-autosuggestions` plugin.
3. Copies the `servers/` dotfiles into `$HOME`.
4. Clones the Vim plugins declared in `.vimrc` (dracula, lightline,

View File

@@ -4,7 +4,7 @@
# What it does:
# 1. Detects the OS and package manager (apt on Debian, apk on Alpine).
# 2. Installs base tooling (git, curl, wget, zsh, vim) + CLI tools
# (htop, fzf, nslookup, kubectl when available) for both distros.
# (htop, fzf, nslookup, nfs client, kubectl when available) for both distros.
# 3. Installs oh-my-zsh (unattended) and the zsh-autosuggestions plugin.
# 4. Deploys the generic server/ dotfiles.
# 5. Installs Vim plugins (clones each plugin declared in .vimrc).
@@ -105,10 +105,11 @@ install_packages() {
# nslookup -> dnsutils (Debian) / bind-tools (Alpine)
# fzf -> community repo on Alpine, main on Debian
# htop -> main on both
# nfs client-> nfs-common (Debian) / nfs-utils (Alpine) [for NFS mounts]
if [ "$PKG" = "apk" ]; then
CLI_TOOLS="htop fzf bind-tools"
CLI_TOOLS="htop fzf bind-tools nfs-utils"
else
CLI_TOOLS="htop fzf dnsutils"
CLI_TOOLS="htop fzf dnsutils nfs-common"
fi
if [ "$PKG" = "apk" ]; then