diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-10-15 04:21:26 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-10-15 04:21:26 +0530 |
| commit | a4fb9a83d671a4c7f3ed44df77cdee36604b5411 (patch) | |
| tree | d52ba573a132c218be5e0cab67524ed2cd54ae93 /modules/shell/bash/default.nix | |
| parent | 2352b6907387b778623d8f09969cca6cb739ccc0 (diff) | |
| download | home-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/bash/default.nix')
| -rw-r--r-- | modules/shell/bash/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/shell/bash/default.nix b/modules/shell/bash/default.nix index 9a81d7a..b845ced 100644 --- a/modules/shell/bash/default.nix +++ b/modules/shell/bash/default.nix @@ -12,9 +12,9 @@ config = lib.mkIf config.shell.bash.enable { shell.default = lib.mkDefault "bash"; shell.command = - if config.shell.default == "bash" then - lib.mkForce "${pkgs.zsh}/bin/bash" - else ""; + lib.mkIf + (config.shell.default == "bash") + "${pkgs.zsh}/bin/bash"; programs.bash.enable = true; programs.bash.historyFile = "${config.xdg.cacheHome}/bash/history"; @@ -25,8 +25,8 @@ ${if config.tools.utils.fzf.enable then else ""} ''; - home.activation.createBashCacheDirectory - = lib.hm.dag.entryAfter + home.activation.createBashCacheDirectory = + lib.hm.dag.entryAfter [ "writeBoundary" ] "mkdir -p ${config.xdg.cacheHome}/bash"; }; |
