anchor.diff:            host  all all ::1/128      md5
           '';
           description = ''
  -          Hosts (except localhost), who you allow to connect.
  +          Defines how users authenticate themselves to the server.
           '';
         };
         
  -      allowedHosts = mkOption {
  -        default = [];
  +      identMap = mkOption {
  +        default = "";
           description = ''
  -          Hosts (except localhost), who you allow to connect.
  +          Defines the mapping from system users to database users.
           '';
         };
         
  
positive.code:             while ! ${run} -c '${postgresql}/bin/pg_ctl status'; do
                  sleep 1
              done
            '';
  
          postStop =
            ''
  
negative.code:   run = "${pkgs.su}/bin/su -s ${pkgs.stdenv.shell} postgres";
  
    flags = if cfg.enableTCPIP then ["-i"] else [];
  
    # The main PostgreSQL configuration file.
    configFile = pkgs.writeText "postgresql.conf"
      ''
        hba_file = '${pkgs.writeText "pg_hba.conf" cfg.authentication}'
        ident_file = '${pkgs.writeText "pg_ident.conf" cfg.identMap}'
        log_destination = 'syslog'
      '';  
  
  in
  
  