aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/zsh/default.nix
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-11-29 13:53:50 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-11-29 13:53:50 +0530
commit956c6d01bc2dcd773bac79efd676c93d43842e95 (patch)
treea0213e883151b1041057b56b630f2c1a7f228b01 /modules/tools/zsh/default.nix
parent012f5fc45afc81e18b4ae564ab8207b8c4e02d2a (diff)
downloadhome-manager-config-956c6d01bc2dcd773bac79efd676c93d43842e95.tar.gz
home-manager-config-956c6d01bc2dcd773bac79efd676c93d43842e95.zip
Added impala and bluetui for wifi and bluetooth management.
Some minor code refactoring.
Diffstat (limited to 'modules/tools/zsh/default.nix')
-rw-r--r--modules/tools/zsh/default.nix13
1 files changed, 7 insertions, 6 deletions
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";
+ '';
+ };
};
}