summaryrefslogtreecommitdiff
path: root/prompts/skills/f3s-rocky-vm-setup/references/rex.md
blob: 1eba83a4aa6d99417021268c5315879ff0ec9446 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Rex Usage

The dotfiles repo (`~/git/dotfiles`) contains the main `Rexfile`.

```sh
# Install packages (as root)
rex pkg_rocky

# Deploy dotfiles (as paul)
rex home
```

`pkg_rocky` uses Rex's `pkg` directive which requires root — no `sudo` wrappers.

## Rocky-specific Rex tasks

| Task | Runs when | What it does |
|------|-----------|--------------|
| `home_tmux_rocky` | `hostname =~ /rocky/` | Sources `tmux.rocky.conf` at the **end** of `tmux.conf` so red/orange colors win |
| `pkg_rocky` | Manually (as root) | Installs packages: tmux, fish, helix, zoxide, fzf, golang, nodejs, etc. |

The `home_tmux_rocky` task also cleans stale references from `tmux.local.conf` and strips the `extended-keys-format` line for tmux 3.2a compatibility.