repositories

NixDaemon

NixOS pentest workstation as one flake — IceBreaker's successor

clonegit clone https://git.daemon-sec.xyz/NixDaemon.git
SPLASH.mdMarkdown49 lines2.3 KiBrendered raw download
# Startup splash — rotating planet / Chi-Rho / verse

What new terminals show, controlled in `~/.dotfiles/config/animations.zsh`.
Call this card with **`cheat splash`**.

## What runs on a new shell (in order)
1. **Splash** — chosen by `SPLASH_STYLE` (default **`planet`**):
   - `planet` → rotating planet + ring + moon (`scripts/planet.zsh`).
   - `cross`  → crossfetch orbiting-ring Chi-Rho (☧) dashboard.
   - `none`   → skip.
2. **fastfetch** — static system-info panel.
3. **verse** — today's offline verse (rotates by day-of-year).
4. **git welcome** — if inside a repo: branch, dirty count, last 3 commits.

Only fires on a real interactive TTY — never blocks scripts or tests.

## On-demand commands
```sh
planet            # play the rotating planet until a key (planet 5 = 5s)
cross             # crossfetch dashboard until a key
cross rain        # rain mode · cross ring · cross both
crossmode ring    # set crossfetch style for this session
verse             # reprint today's verse
crossfetch        # the raw fetch binary (~/.local/bin/crossfetch)
```

## Startup toggles (env vars — set before a new shell, or in animations.zsh)
```sh
SPLASH_STYLE=planet   # planet | cross | none   (the main switch)
ANIM_SPLASH=1         # 0 = master kill: no startup eye-candy at all
CROSS_SPLASH=1        # 0 = skip animation, keep static fetch
CROSS_MODE=ring       # crossfetch: ring | rain | both
CROSS_TIMEOUT=3       # auto-exit after N sec (0 = until keypress)
```
Quick: a calm login → `export SPLASH_STYLE=none` (or `ANIM_SPLASH=0`).

## Customise
- **Planet:** edit `~/.dotfiles/scripts/planet.zsh`.
- **Chi-Rho shape/colours:** edit `MASK` / `PALETTE` in `~/.local/bin/crossfetch`,
  then `crossfetch --logo > "$(_cross_art_dir)/cross.txt"`. The art directory is
  `~/.config/fastfetch` on Omarchy, `~/.local/state/crossfetch/logos` where Nix
  owns the config (NixDaemon) — writing into the managed directory there breaks
  `nh os switch`.
- **Verses:** `~/.config/crossfetch/verses.txt` (one per line, `text — Reference`).
- **System panel:** `~/.config/fastfetch/config.jsonc` — on NixDaemon this is
  generated by `programs.fastfetch` (`modules/home/prompt.nix`), so edit it
  there, not in place; `crossfetch --sync-fastfetch` skips it.

`cheat splash` = this card · `cheat prompt` = the prompt itself.