From 956c6d01bc2dcd773bac79efd676c93d43842e95 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Sat, 29 Nov 2025 13:53:50 +0530 Subject: Added impala and bluetui for wifi and bluetooth management. Some minor code refactoring. --- modules/tools/zsh/default.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'modules/tools/zsh') diff --git a/modules/tools/zsh/default.nix b/modules/tools/zsh/default.nix index 6c1f343..0011da4 100644 --- a/modules/tools/zsh/default.nix +++ b/modules/tools/zsh/default.nix @@ -6,15 +6,16 @@ }; config = lib.mkIf config.tools.zsh.enable { - programs.zsh.enable = true; - programs.zsh.dotDir = ".config/zsh"; - programs.zsh.history.path = "${config.xdg.cacheHome}/zsh/history"; - programs.zsh.initContent = '' + programs.zsh = { + enable = true; + dotDir = ".config/zsh"; + history.path = "${config.xdg.cacheHome}/zsh/history"; + initContent = '' ${if config.tools.fzf.enable then "eval \"$(fzf --zsh)\"" else ""} ${builtins.readFile ./zshrc} - ''; - programs.kitty.settings.shell = lib.mkIf config.tools.kitty.enable "zsh"; + ''; + }; }; } -- cgit v1.2.3