Skip to content

Latest commit

 

History

History
166 lines (128 loc) · 6.25 KB

MACHINES.md

File metadata and controls

166 lines (128 loc) · 6.25 KB

Machines

Per-host dotfiles reference for my machines. Nothing here is needed to use the repo; it records what each box of mine has and why. Add a row when a new machine joins.


Lenovo ThinkPad T14s Gen 2i (Ubuntu)

Field Value
Hostname tri-thinkpad
OS Ubuntu 24.04.4 LTS
Kernel 6.17.0-23-generic
CPU Intel Core i5-1135G7 (4c/8t, TigerLake)
GPU Intel Iris Xe Graphics (iHD driver)
RAM 16 GB
Storage 256 GB NVMe
Display AU Optronics 0x573D, 14", 1920x1080, eDP-1
DPI 157 (scale 1.0)
Touchpad Synaptics precision
WM Hyprland 0.55 (cppiber PPA) + Sway fallback
Display server Wayland (GDM)
Installer ubuntu/install-ubuntu.sh
Hypr host overlay ubuntu/stow/hypr-host/.config/hypr/host.lua

Notes

  • hl.env("WLR_NO_HARDWARE_CURSORS", "1") kept from the wlroots era; no effect on aquamarine
  • hl.env("LIBVA_DRIVER_NAME", "iHD") + hl.env("VDPAU_DRIVER", "va_gl") for VA-API
  • Monitor by connector name eDP-1 (Intel panels don't reliably expose EDID description)
  • scale 1.0

HP ZBook Studio G7 (Arch, daily driver)

Field Value
Hostname archlinux
OS Arch Linux
Model HP ZBook Studio G7 Mobile Workstation
BIOS S91 Ver. 01.22.00 (2025-07-08)
Kernel 7.2.6-arch2-1
CPU Intel Core i7-10750H (6c/12t, 2.60 GHz base, 5.0 GHz turbo), intel_pstate active + HWP
GPU Intel UHD CometLake-H GT2 8086:9bc4 (i915) + NVIDIA Quadro T1000 Mobile TU117GLM 10de:1fb9 (nouveau)
RAM 16 GB DDR4-3200 (runs at 2933, the 10750H controller ceiling), dual channel, soldered, not upgradeable
Storage 512 GB Samsung 970 EVO/PRO NVMe 144d:a808 (46 GB root, 422 GB /home)
Display AU Optronics 0x1092, 1920x1080@60.164, eDP-1, driven by the iGPU
WiFi Intel AX201 CNVi 8086:06f0 (iwlwifi)
Touchpad elan1201:00-04f3:3098
WM Hyprland 0.56.2 (pacman)
Installer arch/install-arch.sh
Hypr host overlay arch/stow/hypr-host/.config/hypr/host.lua

Notes

  • Monitor by EDID description desc:AU Optronics 0x1092, scale 1.0
  • Hybrid GPU: Intel iGPU drives the display (card1), Quadro T1000 is card0
  • The Quadro runs on nouveau, so there is no CUDA. Ollama embeds on CPU only, which is why a full RAG reindex takes hours
  • Root 46 GB (small), home 422 GB - keep root lean
  • Firmware sets the RAPL long-term limit to 70 W on a 45 W part, so sustained all-core load outruns the heatsink and the fan never settles. cpu-tune.service pulls it back to 45 W; tlp.d/01-power.conf owns everything that differs between AC and battery
  • No charge threshold in sysfs. HP keeps it in firmware under Battery Health Manager, so TLP cannot set one (there is no HP plugin in its bat.d)
  • Pacman cache at /home/pacman-cache and journal capped at 200 MB, both set by install_system_configs, so upgrades stop failing the download-space check on root

Power and thermal

Battery health, RAPL cap, throttle counters, sleep state and the 2026-10-12 audit live in the vault at claude/projects/personal/zbook-power-log.md. The knobs themselves are in arch/etc/ and install_system_configs.


Mac (secondary)

Field Value
OS macOS
WM N/A (Aqua)
Installer macos/install-macos.sh
Hypr host overlay N/A

Portability notes

  • No Hyprland, no waybar. Shares: git, nvim, lazygit, backgrounds, zsh, scripts, claude-config.
  • Homebrew + Brewfile handles packages.

Lenovo ThinkPad L390 Yoga (Arch, server)

Field Value
Hostname arch-thinkpad
OS Arch Linux
Kernel 6.19.11-arch1-1
CPU Intel Core i3-8145U (2c/4t, 2.10 GHz, WhiskeyLake-U)
GPU Intel UHD Graphics 620 (integrated)
RAM 8 GB
Storage 256 GB NVMe (Toshiba KXG6AZNV256G)
Role pin ~/.dotfiles-role = server
Installer server/install-server.sh
Dotfiles path ~/dotfiles/ (server convention, not ~/Desktop/dotfiles/)
Hypr host overlay N/A (headless)

Role

Headless server pivot from a former Hyprland desktop install. Hosts Dockerized apps fronted by Cloudflare Tunnel, with Tailscale for admin access, fail2ban for any open ports, and restic/borg for backups.

Portability notes

  • No Hyprland, no waybar, no GUI stow packages.
  • Shares with desktop hosts: git, nvim, lazygit, zsh, tmux, scripts, ipython. Prompt is powerlevel10k via the Arch .zshrc; starship is macOS-only.
  • Selection is by the server role pin (~/.dotfiles-role), not by hostname, so any Arch host can opt in.

Service hosting

  • Docker stacks live under /srv/<name>/, one per service.
  • Each service has a dedicated system user svc_<name> (uid <1000, no shell); container processes run as that user via PUID/PGID.
  • tri owns the compose file and .env; the data dir is owned by the service user so a container escape stays scoped to that service.
  • Provision with sudo bash server/scripts/svc-new.sh <name>.

Hardening

  • SSH: key-only, no root login, AllowUsers tri, 10 min idle timeout (server/etc/ssh/sshd_config.d/99-hardening.conf).
  • UFW: deny incoming, allow ssh from anywhere, allow all on tailscale0. No public 80/443 — cloudflared dials out.
  • fail2ban watches sshd.

Thin tier devices

Devices that run an agent but not the hooks, hub or services. Installed with bash claude-config/scripts/bootstrap.sh --tier thin, which builds a real ~/.claude with the instructions, skills, agents and commands and a settings file without hooks or sandbox. See claude-config/rules-manual/platforms/.

Device OS Installer Notes
Windows PC Windows 11 bootstrap.sh --tier thin under Git Bash WSL2 for the full tier
Phone Android, Termux bootstrap.sh --tier thin Claude Code via the community glibc recipe

Waybar DPI guide

style.css uses fixed pixel values. Adjust scale in the host's host.lua if bar looks wrong:

hl.monitor({ output = "eDP-1", mode = "preferred", position = "0x0", scale = 1.25 })  -- HiDPI 14" panels
hl.monitor({ output = "eDP-1", mode = "preferred", position = "0x0", scale = 1 })     -- standard 27"+ at 1440p or lower

Reference DPIs:

  • 14" 1920x1080 = 157 DPI
  • 15" 1920x1080 = 141 DPI
  • 27" 2560x1440 = 109 DPI
  • 27" 1920x1080 = 81 DPI