Working on terminal stuff

This commit is contained in:
2026-03-07 23:37:54 +01:00
parent 82a9f9d9b9
commit a7e2955b66
2 changed files with 635 additions and 8 deletions
@@ -1,17 +1,30 @@
{ config, pkgs, lib, user, ... }:
{
config,
pkgs,
lib,
user,
...
}:
{
home-manager.users.${user.username} = {
programs.starship = {
enable = true;
# Starship settings (e.g., theme, modules)
enable = true; # Globally enables Starship for all shells
settings = {
addNewline = false;
# Other settings...
# Example: Catppuccin Mocha theme
format = "$all";
};
# Enable Starship for specific shells
bash.enable = true;
zsh.enable = true;
fish.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
'';
};
}