mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
35 lines
650 B
Nix
Executable file
35 lines
650 B
Nix
Executable file
{
|
|
programs.zsh = {
|
|
enable = true;
|
|
|
|
enableCompletion = true;
|
|
autosuggestion.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
|
|
history = {
|
|
size = 10000;
|
|
save = 10000;
|
|
};
|
|
|
|
shellAliases = {
|
|
poby = "echo my name is poby";
|
|
drs = "sudo darwin-rebuild switch --flake ~/nix-darwin#$(hostname)";
|
|
drt = "sudo darwin-rebuild test --flake ~/nix-darwin#$(hostname)";
|
|
};
|
|
|
|
sessionVariables = {
|
|
EDITOR = "nvim";
|
|
};
|
|
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
theme = "robbyrussell";
|
|
plugins = [
|
|
"git"
|
|
"history"
|
|
"zoxide"
|
|
"eza"
|
|
];
|
|
};
|
|
};
|
|
}
|