From 7fd10c28cb107e70ce3dd34773115d34fb4d2361 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sat, 1 Jul 2023 13:00:07 +0200 Subject: [PATCH] zsh: use grml configuration by default --- modules/zsh.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/zsh.nix b/modules/zsh.nix index bba3962..8a7fae2 100644 --- a/modules/zsh.nix +++ b/modules/zsh.nix @@ -4,5 +4,13 @@ programs.zsh.enableGlobalCompInit = false; programs.zsh.interactiveShellInit = '' source ${pkgs.zsh-nix-shell}/share/zsh-nix-shell/nix-shell.plugin.zsh - ''; + ''; + programs.zsh = { + autosuggestions.enable = true; + promptInit = '' + source ${pkgs.grml-zsh-config}/etc/zsh/zshrc + ''; + }; + + users.defaultUserShell = pkgs.zsh; }