Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AGENTS.md

Personal dotfiles applied with mise: `mise bootstrap`, `[dotfiles]`, `[tools]`, and tasks. Omarchy and macOS are the only supported profiles.
Personal dotfiles applied with mise: `mise bootstrap`, `[dotfiles]`, `[tools]`, and tasks. Only Omarchy and macOS are supported profiles (see [README.md](README.md)).

This file holds the rules, not an inventory. The config is the source of truth for what is managed, and README.md and `docs/` for commands and user-facing behavior; read them instead of copying details here.

Expand All @@ -9,7 +9,7 @@ This file holds the rules, not an inventory. The config is the source of truth f
- The wrapper evaluates from HOME unless given an explicit context, and an explicit context applies to every step; never mix the two.
- `modules/<name>/` is one conf.d folder: env files, config sources, an optional `bootstrap.sh`, and `tests/`. An app with config or steps gets its own module; pure installs and dev runtimes go in the shared package and devtools modules.
- Env files layer shared → platform → OS/session, and the most specific wins. A profile describes the OS and session, never the hardware.
- Purpose (work or personal) is independent of profile and lives in a local, untracked marker. Changing it only updates the marker and discovery settings; it never provisions.
- Purpose (work or personal) is independent of profile and lives in a local, untracked marker; changing it updates the marker and discovery settings only, never provisions. Details in [docs/purpose.md](docs/purpose.md).
- README images are generated by `.github/assets/render/render.py`; re-render when the wrapper's UI changes.

## Rules
Expand Down
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ In a terminal, `dotfiles` runs those steps one stage at a time with a live summa
| `dotfiles --set-purpose personal` | Switch back to personal without provisioning |
| `mise dot status` | Show the state of every managed file |
| `MISE_TASK_RUN_AUTO_INSTALL=false mise run check` | Dry run plus module tests; use the full validation command below from `~` |
| `update` | Profile-specific system upgrade: native `omarchy-update` or Homebrew |
| `update` | Zsh alias: `omarchy update -y` on Omarchy, `brew update && brew upgrade && brew cleanup` on macOS; the Taskfile `update` task is Omarchy-only |

<details>
<summary>Context, dry-run, and maintenance notes</summary>
Expand All @@ -119,7 +119,7 @@ Taskfile maintenance follows the OS profile: Omarchy uses its native updater.

### Machine purpose

Purpose (`work` or `personal`) is independent of the OS profile and lives in a local, untracked marker; an unmarked machine is `personal`. `dotfiles --set-purpose` only saves the marker and regenerates mise's discovery settings: it never provisions. Purpose restricts packages through mise's native `env` option; so far only Discord is personal-only. The marker, the generated settings and how to inspect them are in [docs/purpose.md](docs/purpose.md).
Purpose (`work` or `personal`) is independent of the OS profile and lives in a local, untracked marker; an unmarked machine is `personal`. `dotfiles --set-purpose` only saves the marker and regenerates mise's discovery settings: it never provisions. The marker, the generated settings and how to inspect them are in [docs/purpose.md](docs/purpose.md).

## Gallery

Expand Down Expand Up @@ -210,13 +210,7 @@ Most of this repo is only useful to me, but these parts stand on their own. Each

## Make it yours

Forking works, but there is no settings layer: a fork edits files. Before the first run, change:

- `REPO_URL` in `bin/dotfiles`, or your one-liner installs this repo instead of your fork.
- The Git, jj and npm author names, and the 1Password account and item references behind the email, SSH keys, signing and fonts.
- On Omarchy, the Dvorak keymap and the passwordless sudo policy in `modules/system/bootstrap.sh`.

Then delete the module folders you don't want and preview with `dotfiles --dry-run`. [docs/fork.md](docs/fork.md) lists every personal value and where it lives.
Forking works, but there is no settings layer: a fork edits files. Before the first run, change the personal values — `REPO_URL`, the Git, jj and npm author names, the 1Password references behind the email, SSH keys, signing and fonts, and on Omarchy the Dvorak keymap and passwordless sudo policy — then delete the module folders you don't want and preview with `dotfiles --dry-run`. [docs/fork.md](docs/fork.md) lists every personal value and where it lives.

There are no releases and no compatibility promise: `main` is whatever my machines run today.

Expand Down
4 changes: 2 additions & 2 deletions docs/apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ Native mise merges and the bootstrap reset both use the standard Tern roots: `~/

Tern shares dark Catppuccin styling, Float layout, Glass material, vertical tabs, BerkeleyMono Nerd Font, copy-on-select, and the Console chat style (`surface_chat`). Bootstrap removes the legacy explicit opacity override so Tern's default applies. Use **Reload settings (`Control+Shift+F5`)** after settings cleanup; the macOS held-key-repeat preference in [macOS migration](migration.md#macos-migration) instead requires a full quit and reopen.

macOS and Omarchy now share **CapsLock → t** for Tern and **CapsLock → Shift+T** for Ghostty. Linux-only pane keys are `Control+]` / `Control+[` for next/previous pane and `Control+Alt+]` / `Control+Alt+[` for next/previous tab across sessions.
macOS and Omarchy share **CapsLock → t** for Tern and **CapsLock → Shift+T** for Ghostty. Linux-only pane keys are `Control+]` / `Control+[` for next/previous pane and `Control+Alt+]` / `Control+Alt+[` for next/previous tab across sessions.

## Tailscale

`bootstrap:tailscale` installs the client and nothing else, and warns instead of failing. On Omarchy it installs the `tailscale` package from the `extra` repo and runs `sudo systemctl enable --now tailscaled`; once the daemon is enabled and running, repeat runs change nothing and do not prompt for sudo. On macOS it installs the standalone app with the `tailscale-app` Homebrew cask, and leaves a hand-installed or App Store `/Applications/Tailscale.app` alone.
`bootstrap:tailscale` installs the client and nothing else, and warns instead of failing. On Omarchy it installs the `tailscale` package (any configured repo) and runs `sudo systemctl enable --now tailscaled`; once the daemon is enabled and running, repeat runs change nothing and do not prompt for sudo. On macOS it installs the standalone app with the `tailscale-app` Homebrew cask, and leaves a hand-installed or App Store `/Applications/Tailscale.app` alone.

The module never joins a tailnet, holds no auth key and sets no routes. Joining is a one-time interactive step per device: `sudo tailscale up --accept-routes` on Linux (the browser sign-in URL is printed), or open the app and sign in on macOS. `--accept-routes` is what makes the home subnets reachable when away. At home, leave Tailscale down (`sudo tailscale down` on Linux, turn it off in the menu bar on macOS) so traffic stays on the LAN. Omarchy's own menu installer (`omarchy-install-service-tailscale`) installs the same package and daemon but also joins, sets the operator and adds a bar widget, so use either that or this module's step, not both.

Expand Down
2 changes: 1 addition & 1 deletion docs/fork.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ git clone https://github.com/<you>/dotfiles ~/.dotfiles

A dry run needs a compatible mise already installed. It does not pull, install prerequisites, replace live mise config or move conflicts, but mise still evaluates config templates and may update its own state and caches.

A real run moves any file that blocks a link into `<target>.pre-dotfiles.<epoch>.<random>/original`. That is not a rollback: copies, merges, packages and system changes are not undone, as the README's [Bootstrap](../README.md#bootstrap) section spells out. Do the first real run on a fresh install or a VM.
A real run moves any file that blocks a link into `<target>.pre-dotfiles.<epoch>.<random>/original`; copies, merges, packages and system changes are not undone. The full contract is in the README's [Bootstrap](../README.md#bootstrap) section. Do the first real run on a fresh install or a VM.

The [validation gate](../README.md#validation) and the CI workflow work in a fork as they do here; keep them.

Expand Down
4 changes: 2 additions & 2 deletions docs/omarchy.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ Every window is fully opaque, focused or not; Omarchy's default translucency is

Alt+Tab opens OmaSwitch only while it is installed and enabled; on each press `cells.lua` checks the plugin folder and `shell.json`, so `omarchy plugin disable piyush.omaswitch` or `remove` hands Alt+Tab back to plain window cycling without a keybinding change or reload. To drop it for good, delete its `[bootstrap.repos]` entry and its id from `OMARCHY_PLUGINS`, then run `omarchy plugin remove piyush.omaswitch --yes`: mise never deletes a clone.

The GitHub widget reads through `gh`: run `gh auth login`, then `gh auth refresh -h github.com -s notifications -s repo`. `omarchy update` does not update third-party plugins by itself, so a linked post-update hook runs `omarchy plugin update --yes`: every update brings all git-managed plugins to their latest commit, validated and rolled back on failure. `dotfiles --update` also fast-forwards them; a plain `dotfiles` run never fetches them.
The GitHub widget reads through `gh`: run `gh auth login`, then `gh auth refresh -h github.com -s notifications -s repo`. `omarchy update` does not update third-party plugins by itself, so a linked post-update hook runs `omarchy-plugin-update --yes`: every update brings all git-managed plugins to their latest commit, validated and rolled back on failure. `dotfiles --update` also fast-forwards them; a plain `dotfiles` run never fetches them.

## liquidctl

`bootstrap:liquidctl` (Omarchy) acts only on machines with a Lian Li UNI FAN SL hub (USB `0cf2:a100`); elsewhere it prints a skip line. On those machines it installs `liquidctl` from `extra`, plus a udev rule and a oneshot unit that runs `liquidctl --match "Uni SL" initialize` whenever the hub appears (boot or replug), so the fans follow the motherboard's PWM. It warns instead of failing, and repeat runs change nothing and do not prompt for sudo. Check with `liquidctl status` and `systemctl status liquidctl-lianli-uni-sl.service`.
`bootstrap:liquidctl` (Omarchy) acts only on machines with a Lian Li UNI FAN SL hub (USB `0cf2:a100`); elsewhere it prints a skip line. On those machines it installs the `liquidctl` package (any configured repo), plus a udev rule and a oneshot unit that runs `liquidctl --match "Uni SL" initialize` whenever the hub appears (boot or replug), so the fans follow the motherboard's PWM. It warns instead of failing, and repeat runs change nothing and do not prompt for sudo. Check with `liquidctl status` and `systemctl status liquidctl-lianli-uni-sl.service`.

## Battle.net

Expand Down
Loading