Self-sovereign infrastructure platform with secure, encrypted NixOS deployments
The Keystone Terminal module (keystone.terminal) provides a comprehensive, opinionated command-line development environment. It is designed to work consistently across NixOS, macOS, and other Linux distributions via Home Manager.
To enable the terminal environment in your Home Manager configuration:
keystone.terminal.enable = true;
This installs and configures:
eza, ripgrep, htop, zoxide, direnv, yaziKeystone configures Helix as the default editor (EDITOR and VISUAL environment variables are set to hx).
kinda_nvim theme by default.| Key | Action | Description |
|---|---|---|
Ret (Enter) |
:write |
Save the current buffer. |
F6 |
Markdown Preview | Selects all text, renders Markdown to HTML using Pandoc, opens it in the default browser, and copies the preview URL to the clipboard. |
F7 |
Toggle Soft Wrap | Toggles soft wrapping of text. |
The Markdown preview feature (F6) uses a robust helper script (helix-preview-markdown) that:
/tmp/helix-preview.html.xdg-open).file:///tmp/helix-preview.html) to your clipboard (using wl-copy on Linux or pbcopy on macOS) so you can paste it into a different browser if preferred.The module installs and configures the following language servers automatically:
marksman, harper-ls (grammar checking)nixfmtbash-language-servertypescript-language-server, prettierdocker-langserver, docker-compose-langserveryaml-language-serverruby-lsp, solargraphz <dir>).ls, l -> eza -1l (modern ls replacement)grep -> rg (ripgrep)g -> gitlg -> lazygitzs -> zesh connect (session manager)Zellij is configured with sensible keybindings and acts as the default terminal multiplexer.