XkbVarient breaks NixOS Rebuild

I am trying to change my default configuration to Colemak using the code shown below in my etc/nixos/configuration.nix.

console.useXkbConfig = true;
services.xserver = {
  layout = "us";
  xkbVariant = "colemak_dh_iso";
  xkbOptions = "caps:swapescape";

When I try to run nixos-rebuild switch, I recieve the following error message.

this could help you…

this may also be of interest.

there maybe some inspiration in the following list.


This worked. Thank you!