Configured ZSH

This commit is contained in:
KoenDR06 2024-04-08 11:47:49 +02:00
parent cf603f863f
commit 7d28606248
4 changed files with 27 additions and 2 deletions

24
pkgs/zsh.nix Normal file
View file

@ -0,0 +1,24 @@
{
config,
pkgs,
...
}: {
users.defaultUserShell = pkgs.zsh;
environment.shells = with pkgs; [ zsh ];
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestions.enable = true;
shellAliases = {
update = "sudo nixos-rebuild switch --flake";
};
ohMyZsh = {
enable = true;
plugins = ["git"];
theme = "robbyrussell";
};
};
}