24 lines
642 B
Nix
24 lines
642 B
Nix
{ config, pkgs, lib, user, inputs, flakeRoot, ... }:
|
|
{
|
|
# Install Starship (optional, system-wide)
|
|
environment.systemPackages = with pkgs; [ starship ];
|
|
|
|
# Home Manager configuration for Starship
|
|
home-manager.users.${user.username} = {
|
|
programs.starship = {
|
|
enable = true;
|
|
# Enable for specific shells (e.g., bash, zsh, fish)
|
|
settings = {
|
|
# Your Starship config here (e.g., theme, modules)
|
|
addNewline = false;
|
|
};
|
|
# Enable shell integration (per-shell)
|
|
shellIntegration = {
|
|
bash.enable = true;
|
|
zsh.enable = true;
|
|
fish.enable = true;
|
|
};
|
|
};
|
|
};
|
|
}
|