This commit is contained in:
Vinzenz Schroeter 2023-08-26 17:29:01 +02:00
parent 988155162d
commit 00ba15ab51
3 changed files with 20 additions and 5 deletions

View file

@ -73,6 +73,7 @@
powerline
powerline-fonts
thefuck
direnv
]
# development
++ [
@ -105,20 +106,29 @@
home-manager.enable = true;
zsh = {
enable = true;
# syntaxHighlighting.enable = true;
enableAutosuggestions = true;
enableVteIntegration = true;
shellAliases = {
my-update = "sudo nixos-rebuild switch";
my-config = "sudo nano /etc/nixos/configuration.nix";
my-fmt = "sudo alejandra /etc/nixos/configuration.nix";
my-fmt = "alejandra .";
};
history = {
size = 10000;
path = "${config.xdg.dataHome}/zsh/history";
expireDuplicatesFirst = true;
};
oh-my-zsh = {
enable = true;
theme = "agnoster";
plugins = ["git" "sudo" "docker" "systemadmin" "thefuck"];
};
initExtra = "eval \"$(direnv hook zsh)\"";
};
git = {