From 3b13d9a2a367db84d48940460532c17a374bb488 Mon Sep 17 00:00:00 2001 From: schererleander Date: Thu, 5 Feb 2026 12:03:07 +0100 Subject: feat(modules): use dendritic pattern --- modules/home/shells/bash/default.nix | 40 ------------------------------------ 1 file changed, 40 deletions(-) delete mode 100644 modules/home/shells/bash/default.nix (limited to 'modules/home/shells/bash') diff --git a/modules/home/shells/bash/default.nix b/modules/home/shells/bash/default.nix deleted file mode 100644 index d224442..0000000 --- a/modules/home/shells/bash/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ - config, - pkgs, - lib, - ... -}: - -let - inherit (lib) mkEnableOption mkIf; - cfg = config.nx.shells.bash; -in -{ - options.nx.shells.bash = { - enable = mkEnableOption "bash shell"; - }; - - 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"; - }; - }; - }; -} -- cgit v1.3.1