{ ... }: { flake.homeModules.nathan-terminal = { config, lib, pkgs, ... }: { home.packages = with pkgs; [ oh-my-posh ]; programs.bash = { enable = true; enableCompletion = true; shellAliases = { ls = "eza"; ll = "ls -l"; ksh = "kitten ssh"; v = "nvim"; vi = "nvim"; vim = "nvim"; }; bashrcExtra = '' source ${pkgs.blesh}/share/blesh/ble.sh ''; initExtra = lib.mkMerge [ (lib.mkIf (builtins.any (x: x == pkgs.pywal16) config.home.packages) (lib.mkBefore '' cat ${config.home.homeDirectory}/.cache/wal/sequences eval "$(oh-my-posh init bash --config ${config.home.homeDirectory}/.cache/wal/ohmyposh.toml)" '')) (lib.mkIf (!(builtins.any (x: x == pkgs.pywal16) config.home.packages)) (lib.mkBefore '' eval "$(oh-my-posh init bash --config ${config.home.homeDirectory}/.config/ohmyposh/ohmyposh.toml)" '')) ]; }; }; }