aboutsummaryrefslogtreecommitdiff
path: root/modules/users/shells/bash
diff options
context:
space:
mode:
Diffstat (limited to 'modules/users/shells/bash')
-rw-r--r--modules/users/shells/bash/default.nix43
1 files changed, 0 insertions, 43 deletions
diff --git a/modules/users/shells/bash/default.nix b/modules/users/shells/bash/default.nix
deleted file mode 100644
index d17ffc5..0000000
--- a/modules/users/shells/bash/default.nix
+++ /dev/null
@@ -1,43 +0,0 @@
-{
- config,
- pkgs,
- lib,
- ...
-}:
-
-let
- inherit (lib) mkOption mkIf types;
- cfg = config.nx.shells.bash;
-in
-{
- options.nx.shells.bash = {
- enable = mkOption {
- type = types.bool;
- default = config.nx.terminal.defaultShell == "bash";
- };
- };
-
- config = mkIf cfg.enable {
- home.packages = with pkgs; [
- zoxide
- ];
-
- programs.bash = {
- enable = true;
- enableCompletion = true;
- initExtra = ''
- # view man pages with nvim
- export MANPAGER="nvim +Man!"
-
- # vim keybindings
- set -o vi
-
- # zoxide smarter cd command
- eval "$(zoxide init bash)"
- '';
- shellAliases = {
- ls = "ls --color=auto";
- };
- };
- };
-}