Set the keyboard layout for the desktop

This commit is contained in:
Manuel Thalmann 2024-05-07 14:25:03 +02:00
parent 551300b8ff
commit d768fddeaf
2 changed files with 2 additions and 0 deletions

View file

@ -48,6 +48,7 @@
dualBoot = false; dualBoot = false;
timeZone = null; timeZone = null;
keyMap = "us"; keyMap = "us";
keyboardLayout = "us";
}; };
systems = [ systems = [
{ {

View file

@ -31,5 +31,6 @@
# Configure keyboard layout # Configure keyboard layout
console.keyMap = machineConfig.keyMap; console.keyMap = machineConfig.keyMap;
services.xserver.xkb.layout = machineConfig.keyboardLayout;
}; };
} }