Skip to content

About

Terminal emulator configurations for infra-nixCfg

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

19 stars

Watchers

1 watching

Forks

Repository files navigation

term-nixCfg



This repository manages terminal emulator and multiplexer configurations as a Nix flake, consumed by infra-nixCfg via home-manager.

Contents

Directory Description
config/home/gui/emulators/wezterm/ Pure-Lua WezTerm config (font, bindings, smart-splits, tabline)
config/home/gui/emulators/kitty/ Kitty config and custom theme
config/home/gui/emulators/rex/ Lua Rex client config (init.lua keybindings for panes, tabs, and sessions)
config/ home-manager modules that install emulator and multiplexer configs into $XDG_CONFIG_HOME
flake/ Dev environment, formatters, pre-commit hooks, packages, and CI actions
pkgs/ nvfetcher-managed external package sources and macOS binary packages (pkgs/darwin/rex-bin/)

Multiplexers managed: tmux (native home-manager), zellij, screen.

Rex (macOS)

Rex is packaged and configured for Darwin (isDarwin) in the gui home-manager profile:

  • Package (pkgs/darwin/rex-bin/): Unpacks the signed universal (x86_64 + arm64) preview DMG via 7zz, installs Rex.app, and exposes the bundled rex server/CLI binary at $out/bin/rex. Also exported as packages.<darwin>.rex-bin.
  • Source updates: pkgs/nvfetcher.toml tracks the Rex preview Sparkle appcast; run pkgs-update in the devshell to refresh pkgs/_sources/.
  • Module (config/home/gui/rex.nix): Exposes termNixCfg.rex (enable defaults to true, package defaults to pkgs/darwin/rex-bin, and agentConfig appends optional Lua to $XDG_CONFIG_HOME/rex/init.lua after config/home/gui/emulators/rex/init.lua).

Development

nix develop   # enter devshell (auto-activated via direnv)
pkgs-update   # refresh nvfetcher-generated package sources
nix fmt       # format Nix (alejandra + deadnix + statix) and Lua (stylua)
nix flake check

For AI Agents

Context files (AGENTS.md, CLAUDE.md) are generated — not committed. Run apm compile before exploring the repo to get directory-level guidance.

Related Repositories

About

Terminal emulator configurations for infra-nixCfg

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

19 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages