fix(kmscon): set correct kb layout

This commit is contained in:
matt1432 2023-12-15 10:44:06 -05:00
parent 55b700dc77
commit 75b464e9f5

View file

@ -1,10 +1,14 @@
{...}: {
{config, ...}: {
services.kmscon = {
enable = true;
hwRender = false;
# FIXME: https://github.com/Aetf/kmscon/issues/18 // Icons not rendering properly
# FIXME: https://github.com/Aetf/kmscon/issues/56 // Mouse cursor stays
# FIXME: wrong keyboard layout
extraOptions = "--font-size 12.5 --font-dpi 170 --font-name 'JetBrainsMono Nerd Font'";
extraOptions = builtins.concatStringsSep " " [
"--font-size 12.5"
"--font-dpi 170"
"--xkb-layout ${config.services.xserver.layout}"
"--xkb-variant ${config.services.xserver.xkbVariant}"
"--font-name 'JetBrainsMono Nerd Font'"
];
};
}