repositories

NixDaemon

NixOS pentest workstation as one flake — IceBreaker's successor

clonegit clone https://git.daemon-sec.xyz/NixDaemon.git
PROMPT.mdMarkdown85 lines4.1 KiBsource raw download

Starship "Capsule" prompt + Rosé Pine dark theme#

Two-line prompt, Rosé Pine base dark (#191724 — not Moon, not Dawn), nerd-font glyphs only (no emoji). Config: ~/.config/starship.toml. Loaded by ~/.dotfiles/config/theme.zsh. Call this card with cheat prompt.

Reading it#

╭─ ☧  daemon1@AT4    󰉋 ~/proj    main !3 ⇡2   ╾╴󰌠 3.12      73%  󰥔 08:30
╰─▰▰▰▶❯

The palette ([palettes.rose_pine] in starship.toml)#

name hex use
bone #e0def4 text — primary text
foam #9ccfd8 readable teal — ink on dark
mint #31748f pine — chip fill only, never ink
amber #f6c177 gold — directory capsule
coral #ebbcba rose — right-side capsule
red #eb6f92 love — git / errors
pink #c4a7e7 iris — Chi-Rho cap
dim #908caa subtle — separators
mute #6e6a86 muted — deepest legible grey
over #26233a overlay — identity pill fill
void #191724 base — text-on-capsule (ink)
wine #7d2a3f dark love — alert ink on a light chip

This same palette drives fzf, eza (theme.yml), rg, bat, btop, tmux and the finders — one coherent look. Reuse these hexes when theming a new tool.

The contrast law (read this before you recolour anything)#

Every filled chip must clear 4.5:1. Ink follows the fill:

Never use mint as a foreground on the base background. Pine is 3.3:1 on #191724. It works in Dawn because there it is dark ink on a cream page; when this theme was ported to dark, pine came along as a foreground and quietly took the frame, the ❯, the git ⇡, eza's directory colour and every code span in the cheat cards down with it. Dark mode's readable teal is foam (10.3:1).

The same port left fg:bone sitting on bg:amber (1.24:1) and on bg:coral (1.27:1) — the directory path and the clock were rendering as near-invisible light-on-light. Both now take fg:void.

Transient prompt#

After you accept a command, its prompt collapses to a slim foam ❯ so scrollback stays clean; the live prompt keeps the full frame.

Editing the prompt#

starship config          # open starship.toml in $EDITOR
starship explain         # explain what each rendered module is + timing
starship timings         # find slow modules
starship module rust     # preview a single module

Notes#

cheat prompt = this card · cheat splash = the startup animation · palette = fzf command menu.