anchor.diff:        done
       ''; # */
   
  -in
  -  
  -{
  -
  -  ###### interface
  -  
  -  options = {
  -  
  -    jobs = mkOption {
  -      default = [];
  -      description = ''
  -        This option defines the system jobs started and managed by the
  -        Upstart daemon.
  -      '';
  -
  -      type = types.list types.optionSet;
  -
  -      options = {
  +  listJobOptions = {
   
           name = mkOption {
             type = types.string;
  
positive.code:         
    jobs =
      [pkgs.upstart] # for the built-in logd job
      ++ map makeJob (config.jobs ++ config.services.extraJobs);
    
    # Create an etc/event.d directory containing symlinks to the
    # specified list of Upstart job files.
  
negative.code:         };
  
        };
  
      attrJobOptions = builtins.removeAttrs listJobOptions ["name"];
  
  in
    
  {
  
    ###### interface
    
    options = {
  
      jobAttrs = mkOption {
        default = {};
        description = ''
          This option defines the system jobs started and managed by the
          Upstart daemon.
  
          It's filled by config.jobs by now. A warning is print.
  
          You can overwrite settings easily. Example:
  
            config.jobAttrs.sshd.startOn = "never";
        '';
  
        options = attrJobOptions;
        type = types.attrsOf types.optionSet;
      };
     
    
      jobs = mkOption {
        default = [];
        description = ''
          See jobAttrs
        '';
  
        type = types.list types.optionSet;
  
        options = listJobOptions;
        
      };
  
  