Expose terminal appearance (font, cursor, scrollback) as options #3

Open
opened 2026-07-15 12:21:38 +01:00 by pedromcaraujo · 0 comments

Terminal display settings are baked into the ttyd flags at modules/ttyd.nix:84-89:

  • fontFamily='JetBrainsMono Nerd Font,monospace'
  • fontSize=14
  • cursorStyle=block
  • cursorBlink=true
  • scrollback=10000

For a reusable flake these should be myServices.forge options so a deployer can change the terminal look without editing the module. Keep the current values as defaults.

Related: tmux history-limit is separately hardcoded at modules/shell.nix:23 — worth aligning with the scrollback option.

Terminal display settings are baked into the ttyd flags at `modules/ttyd.nix:84-89`: - `fontFamily='JetBrainsMono Nerd Font,monospace'` - `fontSize=14` - `cursorStyle=block` - `cursorBlink=true` - `scrollback=10000` For a reusable flake these should be `myServices.forge` options so a deployer can change the terminal look without editing the module. Keep the current values as defaults. Related: tmux `history-limit` is separately hardcoded at `modules/shell.nix:23` — worth aligning with the scrollback option.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pedromcaraujo/forge#3
No description provided.