Working on terminal
This commit is contained in:
@@ -1,10 +1,23 @@
|
||||
{ config, pkgs, lib, flakeRoot, ... }:
|
||||
{ config, pkgs, lib, user, inputs, flakeRoot, ... }:
|
||||
{
|
||||
xdg.enable = true;
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
enableBashIntegration = true;
|
||||
enableFishIntegration = true;
|
||||
# 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user