Working on terminal stuff
This commit is contained in:
@@ -1,30 +1,27 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
user,
|
||||
...
|
||||
}:
|
||||
{ config, pkgs, lib, user, ... }:
|
||||
{
|
||||
home-manager.users.${user.username} = {
|
||||
programs.starship = {
|
||||
enable = true; # Globally enables Starship for all shells
|
||||
settings = {
|
||||
addNewline = false;
|
||||
# Example: Catppuccin Mocha theme
|
||||
format = "$all";
|
||||
};
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Optional: Ensure Starship init is in shell configs (if not auto-added)
|
||||
xdg.configFile."bashrc".text = lib.concatStringsSep "\n" [
|
||||
"eval \"$(starship init bash)\""
|
||||
];
|
||||
xdg.configFile."zshrc".text = lib.concatStringsSep "\n" [
|
||||
"eval \"$(starship init zsh)\""
|
||||
];
|
||||
xdg.configFile."config/fish/config.fish".text = ''
|
||||
starship init fish | source
|
||||
# Catppuccin Mocha theme for Starship
|
||||
xdg.configFile."starship.toml".text = ''
|
||||
format = "$all"
|
||||
|
||||
[character]
|
||||
success_symbol = "[❯](bold green)"
|
||||
error_symbol = "[❯](bold red)"
|
||||
|
||||
[directory]
|
||||
style = "bold lavender"
|
||||
|
||||
[git_branch]
|
||||
symbol = " "
|
||||
style = "bold maroon"
|
||||
|
||||
[package]
|
||||
disabled = true
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user