anchor.diff:          '';
         };
   
  +      xkbDir = mkOption {
  +        type = types.str;
  +        default = "${pkgs.xkeyboard_config}/etc/X11/xkb";
  +        description = ''
  +        Path used for -xkbdir xserver parameter.
  +        '';
  +      };
  +
         config = mkOption {
           type = types.lines;
           description = ''
  
positive.code:             target = "X11/xorg.conf";
            }
            # -xkbdir command line option does not seems to be passed to xkbcomp.
            { source = "${pkgs.xkeyboard_config}/etc/X11/xkb";
              target = "X11/xkb";
            }
          ]);
  
negative.code:       [ "-ac"
          "-terminate"
          "-config ${configFile}"
          "-xkbdir" "${cfg.xkbDir}"
        ] ++ optional (cfg.display != null) ":${toString cfg.display}"
          ++ optional (cfg.tty     != null) "vt${toString cfg.tty}"
          ++ optionals (cfg.display != null) [ "-logfile" "/var/log/X.${toString cfg.display}.log" ]
  