47 lines
869 B
Nix
47 lines
869 B
Nix
{ pkgs, ... }: {
|
|
home.packages = with pkgs; [
|
|
firefox
|
|
wezterm
|
|
];
|
|
|
|
programs.git = {
|
|
enable = true;
|
|
userName = "Zoty";
|
|
userEmail = "zotydev@gmail.com";
|
|
};
|
|
|
|
programs.zsh = {
|
|
enable = true;
|
|
enableCompletion = true;
|
|
autosuggestion.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
|
|
history = {
|
|
size = 10000;
|
|
path = "$HOME/.zsh_history";
|
|
};
|
|
|
|
setOptions = [
|
|
"HIST_IGNORE_ALL_DUPS"
|
|
"AUTO_CD"
|
|
];
|
|
initContent = ''
|
|
source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme
|
|
'';
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
plugins = [
|
|
"git"
|
|
"dirhistory"
|
|
"history"
|
|
];
|
|
};
|
|
};
|
|
|
|
programs.direnv = {
|
|
enable = true;
|
|
nix-direnv.enable = true;
|
|
enableBashIntegration = true;
|
|
enableZshIntegration = true;
|
|
};
|
|
}
|