repositories

NixDaemon

NixOS pentest workstation as one flake — IceBreaker's successor

clonegit clone https://git.daemon-sec.xyz/NixDaemon.git
pdfs.mdMarkdown43 lines2.2 KiBsource raw download

DAEMONSEC-VAULT PDF library#

pdf-fzf (or pdfs) opens the searchable PDF menu, with the same preview-above-list layout as cheats-fzf. Type any title, folder, or alias fragment; the preview shows the document's shortcut, location, and first two pages of text.

Command / key Action
pdfs Browse PDFs in 06PdfCheatSheets
pdf-fzf Same menu, named like cheats-fzf
pdfs nixos Open the menu with an initial search
pdf-list Print all PDF aliases and relative paths
pdf-list wireless Filter the printed list
pdf-gpg-cheat-sheet Open the GPG cheat sheet directly
pdf-jj-field-guide Open the jj field guide directly
pdf-refresh Refresh aliases after adding or moving PDFs
Enter Open the highlighted or selected PDFs
Tab / Shift-Tab Select multiple PDFs
Ctrl-/ Hide/show the preview
Esc Close the menu without opening anything

Open a fresh shell or run exec zsh after installing this configuration. Type pdf- and press Tab to discover aliases through shell completion. cheat pdfs shows this card.

PDFs open with the system's default viewer (Zathura on NixDaemon). Text previews use pdftotext from the already-installed poppler-utils; scanned or protected PDFs can still be opened when text extraction is unavailable.

The catalog covers only 06PdfCheatSheets and its non-hidden subfolders. Other vault folders are excluded. University PDFs whose filenames start with CMP (case-insensitive) are excluded from the menu and aliases; their files are kept. The menu rescans on every launch. Aliases use the filename with a pdf- prefix; duplicate names receive a short path-based suffix, shown in the menu and pdf-list. No files are moved, renamed, uploaded, or modified.

The default location is ~/git/DAEMONSEC-VAULT, with ~/git/NetrunnerVault as a fallback if the new folder does not exist. Set DAEMONSEC_VAULT or NETRUNNER_VAULT before loading the shell configuration to use a different vault directory. If both are set, DAEMONSEC_VAULT takes priority.

An exported path to the missing old default ~/git/NetrunnerVault also uses ~/git/DAEMONSEC-VAULT when that renamed directory exists.