nix-config/home/zsh.nix

43 lines
No EOL
833 B
Nix

{
programs.zsh = {
enable = true;
autocd = true;
shellAliases = {
os-update = "nh os switch /home/rhea/nix-config/";
os-upgrade = "cd ~/nix-config && nix flake update && nh os switch /home/rhea/nix-config/";
light-off = "echo -n \"{\\\"id\\\":1,\\\"method\\\":\\\"setState\\\",\\\"params\\\":{\\\"state\\\":false}}\" | nc -u -w 1 192.168.178.28 38899";
};
autosuggestion = {
enable = true;
};
history = {
append = true;
expireDuplicatesFirst = true;
};
syntaxHighlighting = {
enable = true;
highlighters = [
"brackets"
];
};
oh-my-zsh = {
enable = true;
plugins = [
"git"
"sudo"
"virtualenv"
"safe-paste"
"timer"
];
theme = "agnoster";
};
};
}