servostar moved to zsh

This commit is contained in:
Sven Vogel 2023-12-22 19:15:45 +01:00
parent a076aba69f
commit d2db42180d
1 changed files with 34 additions and 3 deletions

View File

@ -9,6 +9,8 @@
# #
# Configuration for user servostar # Configuration for user servostar
programs.zsh.enable = true;
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.servostar = { users.users.servostar = {
isNormalUser = true; isNormalUser = true;
@ -24,8 +26,8 @@
"plugdev" "plugdev"
"docker" "docker"
]; ];
# use fish
shell = pkgs.fish; shell = pkgs.zsh;
# ------------------------------------------------------ # ------------------------------------------------------
# user packages # user packages
@ -107,6 +109,10 @@
xournalpp xournalpp
jetbrains-toolbox jetbrains-toolbox
chroma # general purpose syntax highlighter (for ohmyzsh/colorize)
fzf
thefuck
]; ];
}; };
@ -184,9 +190,34 @@
]; ];
}; };
programs.zsh = {
enable = true;
shellAliases = { };
oh-my-zsh = {
enable = true;
plugins = [
"git"
"thefuck"
"colored-man-pages"
"colorize"
"command-not-found"
"docker"
"docker-compose"
"fzf"
];
theme = "robbyrussell";
};
enableAutosuggestions = true;
syntaxHighlighting = {
enable = true;
};
autocd = true;
defaultKeymap = "emacs";
};
programs.starship = { programs.starship = {
enable = true; enable = true;
enableFishIntegration = true; enableZshIntegration = true;
}; };
programs.eza = { programs.eza = {