anchor.diff:        resolutions = mkOption {
           type = types.listOf types.attrs;
           default = [];
  -        example = [ { x = 1600; y = 1200; } { x = 1024; y = 786; } ];
  +        example = [
  +          { x = 1600; y = 1200; }
  +          { x = 1024; y = 786; }
  +        ];
           description = ''
             The screen resolutions for the X server.  The first element
             is the default resolution.  If this list is empty, the X
  
positive.code:     # Sans) than that horror.  But we do need the Adobe fonts for some
      # old non-fontconfig applications.  (Possibly this could be done
      # better using a fontconfig rule.)
      [ pkgs.xorg.fontadobe100dpi
        pkgs.xorg.fontadobe75dpi
      ];
  
  
    # Just enumerate all heads without discarding XRandR output information.
    xrandrHeads = let
      mkHead = num: output: {
        name = "multihead${toString num}";
        inherit output;
      };
    in imap mkHead cfg.xrandrHeads;
  
    xrandrDeviceSection = let
      monitors = flip map xrandrHeads (h: ''
        Option "monitor-${h.output}" "${h.name}"
      '');
      # First option is indented through the space in the config but any
      # subsequent options aren't so we need to apply indentation to
      # them here
      monitorsIndented = if length monitors > 1
        then singleton (head monitors) ++ map (m: "  " + m) (tail monitors)
        else monitors;
    in concatStrings monitorsIndented;
  
    # Here we chain every monitor from the left to right, so we have:
    # m4 right of m3 right of m2 right of m1   .----.----.----.----.
    # Which will end up in reverse ----------> | m1 | m2 | m3 | m4 |
    #                                          `----^----^----^----'
    xrandrMonitorSections = let
      mkMonitor = previous: current: singleton {
        inherit (current) name;
        value = ''
          Section "Monitor"
            Identifier "${current.name}"
            ${optionalString (previous != []) ''
            Option "RightOf" "${(head previous).name}"
            ''}
          EndSection
        '';
      } ++ previous;
      monitors = reverseList (foldl mkMonitor [] xrandrHeads);
    in concatMapStrings (getAttr "value") monitors;
  
    configFile = pkgs.stdenv.mkDerivation {
      name = "xserver.conf";
  
negative.code:         Option "TearFree" "true"
        '';
      };
      intel-testing = {
        modules = with pkgs.xorg; [
          xf86videointel-testing
          glamoregl
        ];
        driverName = "intel";
      };
      modesetting = { };
    };
  
  