repositories

NixDaemon

NixOS pentest workstation as one flake — IceBreaker's successor

clonegit clone https://git.daemon-sec.xyz/NixDaemon.git
tmux-theme.confConfig49 lines2.8 KiBraw download
# ~/.dotfiles/config/tmux-theme.conf — tmux colours and status bar.
# Sourced by ~/.tmux.conf after ~/.config/tmux/palette.conf, which NixDaemon
# modules/home/shell.nix writes from theme.nix (gruvpine now) and which sets the
# thm_* variables used here. thm_teal is rose, not foam: it sits next to
# thm_blue in the status-right powerline, and foam-on-foam fused the clock and
# date chips into one blob.

# ── Pane borders ─────────────────────────────────────────────
set -g pane-border-style          "fg=${thm_surface0}"
set -g pane-active-border-style   "fg=${thm_blue}"

# ── Messages ─────────────────────────────────────────────────
set -g message-style              "fg=${thm_yellow},bg=${thm_surface0},bold"
set -g message-command-style      "fg=${thm_blue},bg=${thm_surface0}"

# ── Mode (copy mode highlight) ────────────────────────────────
set -g mode-style                 "fg=${thm_bg},bg=${thm_blue}"

# ── Status bar ───────────────────────────────────────────────
set -g status on
set -g status-position bottom
set -g status-style               "fg=${thm_fg},bg=${thm_bg}"
set -g status-justify left

set -g status-left-length  60
set -g status-right-length 120

# Left: session name + prefix / copy-mode indicator (tmux-prefix-highlight)
set -g status-left \
  "#[fg=${thm_bg},bg=${thm_mauve},bold] 󰣇 #S #[fg=${thm_mauve},bg=${thm_bg},nobold]#{prefix_highlight}"

# Right: engagement target (~/.pentest/.active via tmux-target.sh) | VPN IP | time | date.
# Set before the plugins load: tmux-continuum hooks its autosave into it.
set -g status-right \
  "#[fg=${thm_bg},bg=${thm_red},bold]#(~/.dotfiles/scripts/tmux-target.sh)#[default]#[fg=${thm_fg},bg=${thm_surface0}] #{?#{==:#{VPN_IP},},no vpn, #{VPN_IP}} #[fg=${thm_bg},bg=${thm_teal},bold] %H:%M #[fg=${thm_bg},bg=${thm_blue},bold] %d %b "

# Window tabs
set -g window-status-style           "fg=${thm_fg},bg=${thm_bg}"
set -g window-status-format          " #[fg=${thm_fg}]#I:#W#{?window_activity_flag,!,} "
set -g window-status-current-style   "fg=${thm_bg},bg=${thm_blue},bold"
set -g window-status-current-format  " #[bold]#I:#W "
set -g window-status-activity-style  "fg=${thm_yellow},bg=${thm_bg}"
set -g window-status-separator       ""

# tmux-prefix-highlight
set -g @prefix_highlight_fg "${thm_bg}"
set -g @prefix_highlight_bg "${thm_yellow}"
set -g @prefix_highlight_show_copy_mode 'on'
set -g @prefix_highlight_copy_mode_attr "fg=${thm_bg},bg=${thm_blue},bold"