diff --git a/nixos/default.nix b/nixos/default.nix index b09dc24..746bd4e 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -62,12 +62,19 @@ # zsh users.defaultUserShell = pkgs.zsh; - programs.zsh.enable = true; - programs.zsh.autosuggestions.enable = true; - programs.zsh.syntaxHighlighting.enable = true; - programs.zsh.interactiveShellInit = '' - source ${pkgs.grml-zsh-config}/etc/zsh/zshrc - ''; - programs.zsh.promptInit = ""; + programs.zsh = { + enable = true; + autosuggestions.enable = true; + syntaxHighlighting.enable = true; + interactiveShellInit = '' + source ${pkgs.grml-zsh-config}/etc/zsh/zshrc + ''; + promptInit = ""; + shellAliases = { + ip = "ip --color"; + watch = "watch -c"; + grep = "grep --color=always --exclude-dir=.git"; + }; + }; }