Working on shell stuff

This commit is contained in:
2026-03-07 23:35:04 +01:00
parent 039b1501cc
commit 4291649cf2
5 changed files with 465 additions and 1116 deletions
@@ -7,32 +7,17 @@
}:
{
home-manager.users.${user.username} = {
programs.zsh = {
programs.starship = {
enable = true;
enableCompletion = true;
oh-my-zsh = {
enable = true;
theme = "";
plugins = [
"git"
"sudo"
"extract"
"colored-man-pages"
"command-not-found"
"history"
"docker"
"kubectl"
];
# Starship settings (e.g., theme, modules)
settings = {
addNewline = false;
# Other settings...
};
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
# Enable Starship for specific shells
bash.enable = true;
zsh.enable = true;
fish.enable = true;
};
# Set Zsh options (e.g., AUTO_CD) in .zshrc
xdg.configFile."zsh/.zshrc".text = lib.concatStringsSep "\n" [
"setopt AUTO_CD"
"setopt CORRECT"
"setopt INTERACTIVE_COMMENTS"
];
};
}