{ flake.modules.homeManager.bash = { pkgs, lib, config, ... }: { programs.bash = lib.mkIf (config.shell.program == "bash") { enable = true; enableCompletion = true; package = pkgs.bash; }; }; }