anchor.diff:          description = "Shell options to set.";
         };
   
  +      sessionVariables = mkOption {
  +        default = {};
  +        type = types.attrs;
  +        example = { MAILCHECK = 30; };
  +        description = ''
  +          Environment variables that will be set for the Bash session.
  +        '';
  +      };
  +
         shellAliases = mkOption {
           default = {};
           example = { ll = "ls -l"; ".." = "cd .."; };
  
positive.code:       histControlStr = concatStringsSep ":" cfg.historyControl;
        histIgnoreStr = concatStringsSep ":" cfg.historyIgnore;
  
        envVarsStr = concatStringsSep "\n" (
          mapAttrsToList export config.home.sessionVariables
        );
      in mkIf cfg.enable {
        home.file.".bash_profile".text = ''
  
negative.code:       home.file.".profile".text = ''
          # -*- mode: sh -*-
  
          ${envVarsStr}
  
          ${cfg.profileExtra}
        '';
  