Files
nixos-config/modules/user/terminal.nix
T
kiskaadee 5314db937f refactor(modules): restructure user home-manager modules into clean CLI/GUI tiers
- Update `architecture.md` to reflect the 3-host topology (`server`, `desktop`, `laptop`) and tiered user module design.
- Strip Wayland and GUI dependencies from Tier 1 CLI modules (`base.nix`, `terminal.nix`).
- Centralize Alacritty configuration, Wayland screen tools (`grim`, `slurp`, `wf-recorder`, `obs-studio`), and GUI applications into `modules/user/graphical.nix`.
- Clean up host-specific `home.nix` files to remove duplicated package lists.
- Add `tea` (Gitea CLI) to developer applications.
2026-09-05 07:50:28 -05:00

28 lines
725 B
Nix

{ pkgs, ... }:
{
# Terminal Multiplexer (Tmux)
# Allows maintaining persistent shell sessions, window splitting, and tabs.
programs.tmux = {
enable = true;
extraConfig = builtins.readFile ./config/tmux.conf;
};
# Cross-Shell Prompt (Starship)
programs.starship = {
enable = true;
enableBashIntegration = true; # Mount prompt configuration inside Bash shells
settings = {
add_newline = true;
character = {
success_symbol = "[➜](bold green)";
error_symbol = "[➜](bold red)";
};
directory = {
style = "bold blue";
truncate_to_repo = true; # Hides directory path prefixes when navigating inside Git repositories
};
};
};
}