Working on terminal stuff

This commit is contained in:
2026-03-07 23:41:58 +01:00
parent 9533a9e235
commit 7c9f1318d4
4 changed files with 413 additions and 451 deletions
@@ -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
'';
};
}