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
38 lines
870 B
Nix
38 lines
870 B
Nix
{ pkgs, globalInputs, system, ... }:
|
|
|
|
{
|
|
# Home Manager configuration for full desktop experience
|
|
home.username = "johno";
|
|
home.homeDirectory = "/home/johno";
|
|
home.stateVersion = "24.05";
|
|
|
|
# Enable all desktop roles for full-featured experience
|
|
home.roles = {
|
|
"3d-printing".enable = true;
|
|
base.enable = true;
|
|
desktop.enable = true;
|
|
emacs.enable = true;
|
|
email.enable = true;
|
|
i3_sway.enable = true;
|
|
office.enable = true;
|
|
media.enable = true;
|
|
development.enable = true;
|
|
communication.enable = true;
|
|
sync.enable = true;
|
|
kdeconnect.enable = true;
|
|
kubectl.enable = true;
|
|
tmux.enable = true;
|
|
plasma-manager.enable = true;
|
|
starship.enable = true;
|
|
};
|
|
|
|
targets.genericLinux.enable = true;
|
|
home.sessionVariables = {};
|
|
home.sessionPath = [];
|
|
|
|
imports = [
|
|
./roles
|
|
./roles/base-linux
|
|
];
|
|
}
|