aboutsummaryrefslogtreecommitdiffstats
path: root/modules/shell/zsh
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-10-15 04:21:26 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-10-15 04:21:26 +0530
commita4fb9a83d671a4c7f3ed44df77cdee36604b5411 (patch)
treed52ba573a132c218be5e0cab67524ed2cd54ae93 /modules/shell/zsh
parent2352b6907387b778623d8f09969cca6cb739ccc0 (diff)
downloadhome-manager-config-a4fb9a83d671a4c7f3ed44df77cdee36604b5411.tar.gz
home-manager-config-a4fb9a83d671a4c7f3ed44df77cdee36604b5411.zip
Refactoring code.
Stopped using picom. Disabled unused packages and configurations.
Diffstat (limited to 'modules/shell/zsh')
-rw-r--r--modules/shell/zsh/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/shell/zsh/default.nix b/modules/shell/zsh/default.nix
index 9dd762d..d599196 100644
--- a/modules/shell/zsh/default.nix
+++ b/modules/shell/zsh/default.nix
@@ -8,9 +8,9 @@
config = lib.mkIf config.shell.zsh.enable {
shell.default = lib.mkDefault "zsh";
shell.command =
- if config.shell.default == "zsh" then
- lib.mkForce "${pkgs.zsh}/bin/zsh"
- else "";
+ lib.mkIf
+ (config.shell.default == "zsh")
+ "${pkgs.zsh}/bin/zsh";
programs.zsh.enable = true;
programs.zsh.dotDir = ".config/zsh";