Add a new home-manager role for starship.rs, a fast and customizable cross-shell prompt written in Rust. Configuration includes: - Bash and Zsh integration enabled - Clean character symbols (> for success, x for error) - Vi mode indicator support - Smart directory truncation (4 levels, truncate to repo root) - Git branch and status display - Nix shell indicator with snowflake symbol - Command duration for long-running commands (2s+) - Disabled noisy modules (language runtimes, cloud providers) Enabled in: home-desktop, home-laptop-compact, home-live-usb, home-media-center configurations. Closes: nixos-configs-uji
25 lines
453 B
Nix
25 lines
453 B
Nix
{
|
|
# Shared roles that work across all platforms (Linux, Darwin, etc.)
|
|
# Platform-specific roles are imported via base-linux or base-darwin
|
|
# in each home configuration file
|
|
imports = [
|
|
./3d-printing
|
|
./base
|
|
./communication
|
|
./desktop
|
|
./development
|
|
./email
|
|
./gaming
|
|
./kdeconnect
|
|
./kubectl
|
|
./launchers
|
|
./media
|
|
./office
|
|
./plasma-manager-kodi
|
|
./sync
|
|
./tmux
|
|
./emacs
|
|
./starship
|
|
];
|
|
}
|