diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-07-10 01:29:48 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-07-10 01:29:48 +0530 |
| commit | 085ff668ab45ac8d57c093e502b1175a86f2c14e (patch) | |
| tree | 0fe7de3fdb29a9d0f7294e4af91d938fe5283533 /modules/shell/bash | |
| parent | 70b590bf6b83dcb8f142451951a0f54ec3308283 (diff) | |
| download | home-manager-config-085ff668ab45ac8d57c093e502b1175a86f2c14e.tar.gz home-manager-config-085ff668ab45ac8d57c093e502b1175a86f2c14e.zip | |
Removed unnecessary packages.
Diffstat (limited to 'modules/shell/bash')
| -rw-r--r-- | modules/shell/bash/default.nix | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/modules/shell/bash/default.nix b/modules/shell/bash/default.nix deleted file mode 100644 index b14669e..0000000 --- a/modules/shell/bash/default.nix +++ /dev/null @@ -1,36 +0,0 @@ -{ config, lib, pkgs, ... }: - -{ - options.shell.bash = { - enable = lib.mkOption { - type = lib.types.bool; - description = "Enables bash."; - default = true; - }; - }; - - config = lib.mkIf config.shell.bash.enable { - shell.default = lib.mkDefault "bash"; - shell.command = - lib.mkIf - (config.shell.default == "bash") - "${pkgs.zsh}/bin/bash"; - - programs.bash.enable = true; - programs.bash.historyFile = "${config.xdg.cacheHome}/bash/history"; - programs.bash.shellAliases = config.shell.alias; - programs.bash.bashrcExtra = '' -${if config.tools.utils.fzf.enable then - "eval \"$(fzf --bash)\"" -else ""} -${if config.scripts.enable then - "export PATH=${config.home.homeDirectory}/scripts:$PATH" -else ""} - ''; - - home.activation.createBashCacheDirectory = - lib.hm.dag.entryAfter - [ "writeBoundary" ] - "mkdir -p ${config.xdg.cacheHome}/bash"; - }; -} |
