nix: move xkb layouts to common

This commit is contained in:
Primrose 2024-12-21 09:45:52 +01:00
parent 32f6d54979
commit a4a2f965a5
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
6 changed files with 5 additions and 4 deletions

View file

@ -0,0 +1,20 @@
{
services.xserver.xkb = {
extraLayouts = {
"myDvorak" = {
languages = [ "us" ];
symbolsFile = ./dvorak.xkb;
description = "Leana's dvorak";
};
"myDvorakFrench" = {
languages = [ "fr" ];
symbolsFile = ./dvorak-french.xkb;
description = "Leana's dvorak but baguette";
};
};
};
console.useXkbConfig = true;
}