summaryrefslogtreecommitdiffstats
path: root/nixos/tests/console-xkb-and-i18n.nix
blob: 757825a785af2758279c91414e50b7c603b24101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, ... }:
{
  name = "console-xkb-and-i18n";
  meta.maintainers = with lib.maintainers; [ doronbehar ];

  nodes = {
    # Nothing to run on this node. Only verify that this configuration doesn't
    # produce the bugs described here:
    #
    # - https://github.com/NixOS/nixpkgs/issues/445666
    # - https://github.com/NixOS/nixpkgs/issues/411374
    #
    x = {
      i18n.defaultLocale = "eo";
      console.useXkbConfig = true;
      services.xserver.xkb = {
        layout = "us";
        variant = "colemak";
      };
    };
  };
  testScript = { nodes, ... }: "";
}