nixosTests.console-xkb-and-i18n: init

Based upon reproducer posted here:

https://github.com/NixOS/nixpkgs/issues/445666#issuecomment-3331002679
This commit is contained in:
Doron Behar
2025-12-29 19:19:55 +02:00
parent cf2999a0d9
commit 5878d67db7
2 changed files with 24 additions and 0 deletions
+1
View File
@@ -385,6 +385,7 @@ in
collectd = runTest ./collectd.nix;
commafeed = runTest ./commafeed.nix;
connman = runTest ./connman.nix;
console-xkb-and-i18n = runTest ./console-xkb-and-i18n.nix;
consul = runTest ./consul.nix;
consul-template = runTest ./consul-template.nix;
containers-bridge = runTest ./containers-bridge.nix;
+23
View File
@@ -0,0 +1,23 @@
{ lib, ... }:
{
name = "console-xkb-and-i18n";
meta.maintainers = with lib.maintainers; [ doronbehar ];
nodes = {
# Nothing to run on this node, a bug (TODO: where?) is causing a builder of
# the configuration to fail. See:
#
# - 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, ... }: "";
}